Commit da10ef0d authored by LianaHus's avatar LianaHus

standard

parent eba224cc
...@@ -128,7 +128,7 @@ class CompileTab extends CompilerApi { ...@@ -128,7 +128,7 @@ class CompileTab extends CompilerApi {
) )
}) })
} else { } else {
const count = errorList.filter(error => error.severity === 'error').length.toString() const count = data.errors.filter(error => error.severity === 'error').length.toString()
this.events.emit('statusChanged', {key: count, title: 'compilation failed', type: 'danger'}) this.events.emit('statusChanged', {key: count, title: 'compilation failed', type: 'danger'})
} }
// Update contract Selection // Update contract Selection
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment