diff options
author | Abyss777 <abyss@fox5.ru> | 2017-07-28 08:58:54 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-07-28 08:58:54 +0500 |
commit | a7bfd5431b73b5d634b769e64483e81815364bca (patch) | |
tree | fb5d5f35d0c7fc3510f02137def18a27be4d23e4 /web/app/AttributeFormatter.js | |
parent | 352159c53b862a78cead3c1447d14eca28bd9c58 (diff) | |
download | trackermap-web-a7bfd5431b73b5d634b769e64483e81815364bca.tar.gz trackermap-web-a7bfd5431b73b5d634b769e64483e81815364bca.tar.bz2 trackermap-web-a7bfd5431b73b5d634b769e64483e81815364bca.zip |
Do not show geofenceId if it is unknown
Diffstat (limited to 'web/app/AttributeFormatter.js')
-rw-r--r-- | web/app/AttributeFormatter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/AttributeFormatter.js b/web/app/AttributeFormatter.js index 47a924a7..2d394f57 100644 --- a/web/app/AttributeFormatter.js +++ b/web/app/AttributeFormatter.js @@ -82,7 +82,7 @@ Ext.define('Traccar.AttributeFormatter', { store = Ext.getStore('Geofences'); } geofence = store.getById(value); - return geofence ? geofence.get('name') : value; + return geofence ? geofence.get('name') : ''; } }, |