From 3353b119ab7fae9aedc9340760bfc6b6e0bf3798 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 9 May 2016 16:59:19 +0800 Subject: [PATCH] FIX: Notifications do not fade after marking all as read. --- .../discourse/components/user-notifications-large.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/components/user-notifications-large.js.es6 b/app/assets/javascripts/discourse/components/user-notifications-large.js.es6 index bfedea00f7f..941c1aa3222 100644 --- a/app/assets/javascripts/discourse/components/user-notifications-large.js.es6 +++ b/app/assets/javascripts/discourse/components/user-notifications-large.js.es6 @@ -9,7 +9,7 @@ export default MountWidget.extend({ this.args = { notifications: this.get('notifications') }; }, - @observes('notifications.length') + @observes('notifications.length', 'notifications.@each.read') _triggerRefresh() { this.queueRerender(); }