diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-22 06:28:52 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-22 06:28:52 +1300 |
commit | 1ffa5a058a4cf84f23663bef2f14608059789f40 (patch) | |
tree | 9b1181eea0b9484a07fa48a8cc1f2c528d1e0629 /web/app/view/ReportController.js | |
parent | 6b0e967b5156071c3c0ad777af96a1c7e7ebc2de (diff) | |
download | trackermap-web-1ffa5a058a4cf84f23663bef2f14608059789f40.tar.gz trackermap-web-1ffa5a058a4cf84f23663bef2f14608059789f40.tar.bz2 trackermap-web-1ffa5a058a4cf84f23663bef2f14608059789f40.zip |
Add unknown status notification
Diffstat (limited to 'web/app/view/ReportController.js')
-rw-r--r-- | web/app/view/ReportController.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js index 775394d0..46543ba1 100644 --- a/web/app/view/ReportController.js +++ b/web/app/view/ReportController.js @@ -272,8 +272,7 @@ Ext.define('Traccar.view.ReportController', { text: Strings.sharedType, 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.sharedGeofence, |