From a7bfd5431b73b5d634b769e64483e81815364bca Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Fri, 28 Jul 2017 08:58:54 +0500 Subject: Do not show geofenceId if it is unknown --- web/app/AttributeFormatter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app/AttributeFormatter.js') diff --git a/web/app/AttributeFormatter.js b/web/app/AttributeFormatter.js index 47a924a..2d394f5 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') : ''; } }, -- cgit v1.2.3