diff --git a/app/assets/javascripts/discourse/widgets/user-menu.js.es6 b/app/assets/javascripts/discourse/widgets/user-menu.js.es6 index 194ba4eb56f..302264c07e5 100644 --- a/app/assets/javascripts/discourse/widgets/user-menu.js.es6 +++ b/app/assets/javascripts/discourse/widgets/user-menu.js.es6 @@ -93,7 +93,7 @@ createWidget('user-menu-dismiss-link', { buildKey: () => 'user-menu-dismiss-link', html() { - if (userNotifications.state.notifications.get('length') > 0) { + if (userNotifications.state.notifications.filterBy("read", false).length > 0) { return h('ul.menu-links', h('li', this.attach('link', {