aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-02-10 14:55:14 +0800
committerKevin Serrano <kevgagser@gmail.com>2017-02-10 14:55:14 +0800
commit8b38719a7cff0c25820f9c4791dc76803ea477b3 (patch)
treedeb20d7c270b812584d2be3a268ed93c2a41715f /ui
parent092ec9096bb5ab32ce90948781fdb93c274fcb7f (diff)
downloadtangerine-wallet-browser-8b38719a7cff0c25820f9c4791dc76803ea477b3.tar
tangerine-wallet-browser-8b38719a7cff0c25820f9c4791dc76803ea477b3.tar.gz
tangerine-wallet-browser-8b38719a7cff0c25820f9c4791dc76803ea477b3.tar.bz2
tangerine-wallet-browser-8b38719a7cff0c25820f9c4791dc76803ea477b3.tar.lz
tangerine-wallet-browser-8b38719a7cff0c25820f9c4791dc76803ea477b3.tar.xz
tangerine-wallet-browser-8b38719a7cff0c25820f9c4791dc76803ea477b3.tar.zst
tangerine-wallet-browser-8b38719a7cff0c25820f9c4791dc76803ea477b3.zip
Prevent notices from opening in test and debug mode.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index e75a4e72f..3b9e15252 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -350,7 +350,7 @@ App.prototype.renderPrimary = function () {
var props = this.props
// notices
- if (!props.noActiveNotices) {
+ if (!props.noActiveNotices && !METAMASK_DEBUG) {
return h(NoticeScreen, {
notice: props.lastUnreadNotice,
key: 'NoticeScreen',