Rework the notification style now that it is in its own view
This commit is contained in:
@@ -15,6 +15,10 @@ angular.module('Application').controller('NotificationsController', ['$scope', '
|
||||
Client.getNotifications($scope.notifications.all ? null : false, 1, 20, function (error, result) {
|
||||
if (error) return console.error(error);
|
||||
|
||||
result.forEach(function (r) {
|
||||
r.isCollapsed = r.acknowledged;
|
||||
});
|
||||
|
||||
$scope.notifications.notifications = result;
|
||||
|
||||
$scope.notifications.busy = false;
|
||||
|
||||
Reference in New Issue
Block a user