Ensure the navbar notification number is correctly in-sync
This commit is contained in:
@@ -73,8 +73,7 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
|
||||
|
||||
// update state of acknowledged notification
|
||||
$scope.notificationAcknowledged = function () {
|
||||
if ($scope.notificationCount === 0) return; // already down to 0
|
||||
$scope.notificationCount--;
|
||||
refreshNotifications();
|
||||
};
|
||||
|
||||
function init() {
|
||||
|
||||
Reference in New Issue
Block a user