From 1ffa5a058a4cf84f23663bef2f14608059789f40 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 22 Nov 2016 06:28:52 +1300 Subject: Add unknown status notification --- web/app/view/Notifications.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'web/app/view/Notifications.js') diff --git a/web/app/view/Notifications.js b/web/app/view/Notifications.js index 900ebe3..250a6b5 100644 --- a/web/app/view/Notifications.js +++ b/web/app/view/Notifications.js @@ -44,8 +44,7 @@ Ext.define('Traccar.view.Notifications', { text: Strings.notificationType, dataIndex: 'type', renderer: function (value) { - var typeKey = 'event' + value.charAt(0).toUpperCase() + value.slice(1); - return Strings[typeKey]; + return Traccar.app.getEventString(value); } }, { text: Strings.notificationWeb, -- cgit v1.2.3