Commit 6e318362 authored by yann300's avatar yann300 Committed by davidzagi93@gmail.com

linting

parent 93aae000
......@@ -139,10 +139,9 @@ class CompileTab extends CompilerApiMixin(ViewPlugin) { // implements ICompilerA
}
getAppParameter (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)
const param = params[name] ? params[name] : this.config.get(name)
if (param === 'true') return true
if (param === 'false') return false
return param
......
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