diff options
notice-controller - make markAllNoticesRead sync
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/notice-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/notice-controller.js b/app/scripts/notice-controller.js index 050fca9c8..63b422c5b 100644 --- a/app/scripts/notice-controller.js +++ b/app/scripts/notice-controller.js @@ -58,7 +58,7 @@ module.exports = class NoticeController extends EventEmitter { } } - async markAllNoticesRead () { + markAllNoticesRead () { const noticeList = this.getNoticesList() noticeList.forEach(notice => { notice.read = true |