diff options
author | Kevin Serrano <kevin.serrano@consensys.net> | 2017-03-25 05:13:57 +0800 |
---|---|---|
committer | Kevin Serrano <kevin.serrano@consensys.net> | 2017-03-25 05:13:57 +0800 |
commit | 30e8d250138bef588d25619b9fc9563dbbb8ecac (patch) | |
tree | 563330742d202a9aa8fccc2b7234c6e259f8ea90 /app/scripts/notice-controller.js | |
parent | 2e446eb5880396716d919e10e97a7ab824cc0fc1 (diff) | |
parent | fb39539214ca888300eb192e0e137a512cc0d88a (diff) | |
download | tangerine-wallet-browser-30e8d250138bef588d25619b9fc9563dbbb8ecac.tar tangerine-wallet-browser-30e8d250138bef588d25619b9fc9563dbbb8ecac.tar.gz tangerine-wallet-browser-30e8d250138bef588d25619b9fc9563dbbb8ecac.tar.bz2 tangerine-wallet-browser-30e8d250138bef588d25619b9fc9563dbbb8ecac.tar.lz tangerine-wallet-browser-30e8d250138bef588d25619b9fc9563dbbb8ecac.tar.xz tangerine-wallet-browser-30e8d250138bef588d25619b9fc9563dbbb8ecac.tar.zst tangerine-wallet-browser-30e8d250138bef588d25619b9fc9563dbbb8ecac.zip |
Merge branch 'master' into i1210-txdisappearance
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) |