pull/1582/head
yann300 3 years ago
parent 8cf40f9759
commit ebc8614e82
  1. 3
      apps/remix-ide/src/app/tabs/compile-tab.js

@ -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

Loading…
Cancel
Save