MOBILE-2567 notifications: Fix tslint warning
This commit is contained in:
parent
8d6728101b
commit
ec6ee6a51a
@ -176,6 +176,7 @@ export class AddonNotificationsListPage {
|
||||
// Check if mark all notifications as read is enabled and there are some to read.
|
||||
if (this.notificationsProvider.isMarkAllNotificationsAsReadEnabled()) {
|
||||
this.loadingMarkAllNotificationsAsRead = true;
|
||||
|
||||
return this.notificationsProvider.getUnreadNotificationsCount().then((unread) => {
|
||||
this.canMarkAllNotificationsAsRead = unread > 0;
|
||||
this.loadingMarkAllNotificationsAsRead = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user