diff --git a/src/views/account.html b/src/views/account.html index 62a7c2522..a3a743b42 100644 --- a/src/views/account.html +++ b/src/views/account.html @@ -302,7 +302,7 @@ - {{ notification.title }} + {{ notification.title }} {{ notification.creationTime | prettyDate }} diff --git a/src/views/account.js b/src/views/account.js index 0c06ade3b..290425160 100644 --- a/src/views/account.js +++ b/src/views/account.js @@ -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 () {