|
|
@ -139,7 +139,10 @@ class CompileTab extends CompilerApiMixin(ViewPlugin) { // implements ICompilerA |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
getAppParameter (name) { |
|
|
|
getAppParameter (name) { |
|
|
|
const param = this.config.get(name) |
|
|
|
let param |
|
|
|
|
|
|
|
// first look in the URL params then in the local storage
|
|
|
|
|
|
|
|
const params = this.queryParams.get() |
|
|
|
|
|
|
|
param = params[name] ? params[name] : this.config.get(name) |
|
|
|
if (param === 'true') return true |
|
|
|
if (param === 'true') return true |
|
|
|
if (param === 'false') return false |
|
|
|
if (param === 'false') return false |
|
|
|
return param |
|
|
|
return param |
|
|
|