aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/notice-controller.js
diff options
context:
space:
mode:
authorDan Finlay <flyswatter@users.noreply.github.com>2017-03-25 05:03:54 +0800
committerGitHub <noreply@github.com>2017-03-25 05:03:54 +0800
commitae310ed006dce874cdb84ce985641a208e9c1b79 (patch)
treecff23fbc0363775743afa9a6b4a6f1c1868d34e8 /app/scripts/notice-controller.js
parentc15dfccaa4770539152acdfb81d623f0569e2d51 (diff)
parentc45ed395a69dd6a753976f4b612d40d0f3da8407 (diff)
downloadtangerine-wallet-browser-ae310ed006dce874cdb84ce985641a208e9c1b79.tar.gz
tangerine-wallet-browser-ae310ed006dce874cdb84ce985641a208e9c1b79.tar.zst
tangerine-wallet-browser-ae310ed006dce874cdb84ce985641a208e9c1b79.zip
Merge branch 'master' into kovan-notice
Diffstat (limited to 'app/scripts/notice-controller.js')
-rw-r--r--app/scripts/notice-controller.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/scripts/notice-controller.js b/app/scripts/notice-controller.js
index 0d72760fe..57aad40c5 100644
--- a/app/scripts/notice-controller.js
+++ b/app/scripts/notice-controller.js
@@ -41,6 +41,7 @@ module.exports = class NoticeController extends EventEmitter {
var notices = this.getNoticesList()
var index = notices.findIndex((currentNotice) => currentNotice.id === noticeToMark.id)
notices[index].read = true
+ notices[index].body = ''
this.setNoticesList(notices)
const latestNotice = this.getLatestUnreadNotice()
cb(null, latestNotice)