mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-09-25 03:09:37 +00:00
Only show 'mark all as read' AFTER there are notifications
Hide the 'mark all read' button while we fetch notifications. We can't mark all as read before there are any actual unread notifications in the popup anyways. Change-Id: I38ace6a3f8b7898bdcd82ce650947f0c7ef319e2
This commit is contained in:
parent
9a2262d694
commit
71999b28c4
|
@ -210,6 +210,7 @@
|
|||
}
|
||||
|
||||
this.pushPending();
|
||||
this.markAllReadButton.toggle( false );
|
||||
this.notificationsModel.fetchNotifications()
|
||||
.then( function ( idArray ) {
|
||||
// Clip again
|
||||
|
|
Loading…
Reference in a new issue