|
|
@ -104,7 +104,7 @@ class ContractDropdownUI { |
|
|
|
if (this.exEnvironment === 'vm') this.networkName = 'VM' |
|
|
|
if (this.exEnvironment === 'vm') this.networkName = 'VM' |
|
|
|
const savedConfig = window.localStorage.getItem(`ipfs/${this.exEnvironment}/${this.networkName}`) |
|
|
|
const savedConfig = window.localStorage.getItem(`ipfs/${this.exEnvironment}/${this.networkName}`) |
|
|
|
|
|
|
|
|
|
|
|
this.ipfsCheckedState = savedConfig === 'true' ? true : false |
|
|
|
this.ipfsCheckedState = savedConfig === 'true' ? true : false // eslint-disable-line
|
|
|
|
const ipfsCheckbox = this.ipfsCheckedState === true |
|
|
|
const ipfsCheckbox = this.ipfsCheckedState === true |
|
|
|
? yo`<input id="deployAndRunPublishToIPFS" class="mr-2" checked type="checkbox" onchange=${this.toggleCheckedState.bind(this)} >` |
|
|
|
? yo`<input id="deployAndRunPublishToIPFS" class="mr-2" checked type="checkbox" onchange=${this.toggleCheckedState.bind(this)} >` |
|
|
|
: yo`<input id="deployAndRunPublishToIPFS" class="mr-2" type="checkbox" onchange=${this.toggleCheckedState.bind(this)} >` |
|
|
|
: yo`<input id="deployAndRunPublishToIPFS" class="mr-2" type="checkbox" onchange=${this.toggleCheckedState.bind(this)} >` |
|
|
|