diff --git a/src/app/tabs/staticanalysis/staticAnalysisView.js b/src/app/tabs/staticanalysis/staticAnalysisView.js index c14b0c8530..2b4d166c35 100644 --- a/src/app/tabs/staticanalysis/staticAnalysisView.js +++ b/src/app/tabs/staticanalysis/staticAnalysisView.js @@ -155,7 +155,7 @@ staticAnalysisView.prototype.checkModule = function (event) { } staticAnalysisView.prototype.correctRunBtnDisabled = function () { const selected = this.view.querySelectorAll('[name="staticanalysismodule"]:checked') - if (this.lastCompilationResult && selected.length != 0) { + if (this.lastCompilationResult && selected.length !== 0) { this.runBtn.removeAttribute('disabled') } else { this.runBtn.setAttribute('disabled', 'disabled') @@ -174,42 +174,42 @@ staticAnalysisView.prototype.checkAll = function (event) { staticAnalysisView.prototype.renderModules = function () { const groupedModules = utils.groupBy(preProcessModules(this.runner.modules()), 'categoryId') const moduleEntries = Object.keys(groupedModules).map((categoryId, i) => { - const category = groupedModules[categoryId] - const entriesDom = category.map((item, i) => { + const category = groupedModules[categoryId] + const entriesDom = category.map((item, i) => { + return yo` +
+ + +
+ ` + }) return yo` -
- - -
+
+ + +
+ ${entriesDom} +
+ ` }) return yo` -
- - -
- ${entriesDom} -
- - ` - }) -return yo` -
- ${moduleEntries} -
` +
+ ${moduleEntries} +
` } module.exports = staticAnalysisView