diff options
Diffstat (limited to 'web/app/store')
-rw-r--r-- | web/app/store/DeviceStatuses.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/app/store/DeviceStatuses.js b/web/app/store/DeviceStatuses.js index 14c1f950..eafba241 100644 --- a/web/app/store/DeviceStatuses.js +++ b/web/app/store/DeviceStatuses.js @@ -17,19 +17,19 @@ */ Ext.define('Traccar.store.DeviceStatuses', { extend: 'Ext.data.Store', - fields: ['id', 'name', 'tdCls'], + fields: ['id', 'name', 'color'], data: [{ id: 'online', name: Strings.deviceStatusOnline, - tdCls: 'view-color-green' + color: 'view-color-green' }, { id: 'offline', name: Strings.deviceStatusOffline, - tdCls: 'view-color-red' + color: 'view-color-red' }, { id: 'unknown', name: Strings.deviceStatusUnknown, - tdCls: 'view-color-yellow' + color: 'view-color-yellow' }] }); |