diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/actions.js | 2 | ||||
-rw-r--r-- | ui/app/app.js | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index 7bf39081a..07df5ada2 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -533,7 +533,7 @@ function goBackToInitView () { function markNoticeRead (notice) { return (dispatch) => { dispatch(this.showLoadingIndication()) - background.markNoticeRead(notice, (err, notice) => { + _accountManager.markNoticeRead(notice, (err, notice) => { dispatch(this.hideLoadingIndication()) if (err) { return dispatch(actions.showWarning(err)) diff --git a/ui/app/app.js b/ui/app/app.js index 422b3739c..aa0b814d2 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -432,6 +432,10 @@ App.prototype.renderPrimary = function () { return h(NoticeScreen, {key: 'NoticeScreen'}) } + if (!props.noActiveNotices) { + return h(NoticeScreen, {key: 'NoticeScreen'}) + } + // show current view switch (props.currentView.name) { case 'EthStoreWarning': |