Skip to content

Commit 7cb97e9

Browse files
Add internal notifications to notification drawer
- previously only a curated list of API Events made it into the drawer - this change catches all "internal events" currently experienced as toasts & brings them into the drawer - future improvement may be to suppress the "toast" for certain internal events so as not to excessively message the user
1 parent 6f40623 commit 7cb97e9

File tree

6 files changed

+298
-286
lines changed

6 files changed

+298
-286
lines changed

app/scripts/directives/notifications/notificationCounter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
if(!projectName) {
3333
return;
3434
}
35-
notificationListeners.push($rootScope.$on('NotificationDrawerWrapper.count', cb));
35+
notificationListeners.push($rootScope.$on('NotificationDrawerWrapper.onUnreadNotifications', cb));
3636
};
3737

3838
var deregisterNotificationListeners = function() {

0 commit comments

Comments
 (0)