mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
notificationService: emit update only after change applied
This commit is contained in:
@@ -47,11 +47,10 @@ class NotificationService extends BaseService<NotificationServiceEvents> {
|
||||
}
|
||||
|
||||
this.count = {read: 0, total: 0, unread: 0};
|
||||
this.emitUpdate();
|
||||
|
||||
callback();
|
||||
});
|
||||
|
||||
this.emitUpdate();
|
||||
}
|
||||
|
||||
countNotifications() {
|
||||
|
||||
Reference in New Issue
Block a user