Update toplevel notification status
This commit is contained in:
@@ -394,6 +394,8 @@ angular.module('Application').controller('AccountController', ['$scope', 'Client
|
||||
Client.ackNotification(notification.id, function (error) {
|
||||
if (error) return console.error(error);
|
||||
|
||||
$scope.$parent.notificationAcknowledged(notification.id);
|
||||
|
||||
if (notification.action) window.location = notification.action;
|
||||
else refreshNotifications();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user