From da10ef0d00574ab003d5862091af4622f9cd8648 Mon Sep 17 00:00:00 2001 From: LianaHus Date: Mon, 29 Apr 2019 20:04:32 +0200 Subject: [PATCH] standard --- src/app/tabs/compile-tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index 7663adf87a..5382ae27eb 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -128,7 +128,7 @@ class CompileTab extends CompilerApi { ) }) } 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'}) } // Update contract Selection