diff options
author | Dan Finlay <flyswatter@users.noreply.github.com> | 2017-03-25 05:03:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-25 05:03:54 +0800 |
commit | ae310ed006dce874cdb84ce985641a208e9c1b79 (patch) | |
tree | cff23fbc0363775743afa9a6b4a6f1c1868d34e8 /app/scripts/notice-controller.js | |
parent | c15dfccaa4770539152acdfb81d623f0569e2d51 (diff) | |
parent | c45ed395a69dd6a753976f4b612d40d0f3da8407 (diff) | |
download | tangerine-wallet-browser-ae310ed006dce874cdb84ce985641a208e9c1b79.tar tangerine-wallet-browser-ae310ed006dce874cdb84ce985641a208e9c1b79.tar.gz tangerine-wallet-browser-ae310ed006dce874cdb84ce985641a208e9c1b79.tar.bz2 tangerine-wallet-browser-ae310ed006dce874cdb84ce985641a208e9c1b79.tar.lz tangerine-wallet-browser-ae310ed006dce874cdb84ce985641a208e9c1b79.tar.xz 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.js | 1 |
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) |