Show notification time

This commit is contained in:
Johannes Zellner
2019-01-08 13:24:05 +01:00
parent 71eaf9966f
commit 5ab390c3db
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -399,6 +399,8 @@ angular.module('Application').controller('AccountController', ['$scope', 'Client
clicked: function (notification) {
if ($scope.notifications.activeNotification === notification) return $scope.notifications.activeNotification = null;
$scope.notifications.activeNotification = notification;
console.log(notification)
},
ack: function (notification, callback) {
@@ -415,7 +417,7 @@ angular.module('Application').controller('AccountController', ['$scope', 'Client
},
action: function (notification) {
if (notification.action) window.location = notification.action
if (notification.action) window.location = notification.action;
},
clearAll: function () {