Skip to content

Commit

Permalink
fix "config" reference
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 committed Feb 3, 2020
1 parent db6806f commit 36f7ac1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/tabs/runTab/contractDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class ContractDropdownUI {
modalDialog('Confirm transaction', content,
{ label: 'Confirm',
fn: () => {
this.config.setUnpersistedProperty('doNotShowTransactionConfirmationAgain', content.querySelector('input#confirmsetting').checked)
this.blockchain.udapp.config.setUnpersistedProperty('doNotShowTransactionConfirmationAgain', content.querySelector('input#confirmsetting').checked)
// TODO: check if this is check is still valid given the refactor
if (!content.gasPriceStatus) {
cancelCb('Given gas price is not correct')
Expand Down
2 changes: 1 addition & 1 deletion src/app/tabs/runTab/recorder.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class RecorderUI {
modalDialog('Confirm transaction', content,
{ label: 'Confirm',
fn: () => {
this.config.setUnpersistedProperty('doNotShowTransactionConfirmationAgain', content.querySelector('input#confirmsetting').checked)
this.blockchain.udapp.config.setUnpersistedProperty('doNotShowTransactionConfirmationAgain', content.querySelector('input#confirmsetting').checked)
// TODO: check if this is check is still valid given the refactor
if (!content.gasPriceStatus) {
cancelCb('Given gas price is not correct')
Expand Down

0 comments on commit 36f7ac1

Please sign in to comment.