diff --git a/dashboard/src/js/index.js b/dashboard/src/js/index.js index e61bf881b..b8cf2dcae 100644 --- a/dashboard/src/js/index.js +++ b/dashboard/src/js/index.js @@ -118,7 +118,7 @@ app.config(['$routeProvider', function ($routeProvider) { }).otherwise({ redirectTo: '/'}); }]); -app.filter('notificadtionTypeToColor', function () { +app.filter('notificationTypeToColor', function () { return function (n) { switch (n.type) { case NOTIFICATION_TYPES.ALERT_REBOOT: diff --git a/dashboard/src/views/notifications.html b/dashboard/src/views/notifications.html index 243dc55c9..0e2681f2b 100644 --- a/dashboard/src/views/notifications.html +++ b/dashboard/src/views/notifications.html @@ -23,7 +23,7 @@ -
+
{{ notification.title }} {{ notification.creationTime | prettyDate }}