aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/Notifications.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/Notifications.js')
-rw-r--r--web/app/view/Notifications.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/app/view/Notifications.js b/web/app/view/Notifications.js
index 900ebe3f..250a6b5f 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,