diff options
author | Abyss777 <abyss@fox5.ru> | 2017-08-11 17:41:42 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-08-11 17:41:42 +0500 |
commit | c52d923d60815fcc6c1e9592edbcd578caf1147c (patch) | |
tree | 8f4499af1fcece46f80ae0611b577c81e5114f8a /web/app/store | |
parent | a2b7e07df1cc4548e27c51e1545cf210b0ef0ab7 (diff) | |
download | trackermap-web-c52d923d60815fcc6c1e9592edbcd578caf1147c.tar.gz trackermap-web-c52d923d60815fcc6c1e9592edbcd578caf1147c.tar.bz2 trackermap-web-c52d923d60815fcc6c1e9592edbcd578caf1147c.zip |
Implement disable Drivers and Computed Attributes separately
Diffstat (limited to 'web/app/store')
-rw-r--r-- | web/app/store/ServerAttributes.js | 8 | ||||
-rw-r--r-- | web/app/store/UserAttributes.js | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/web/app/store/ServerAttributes.js b/web/app/store/ServerAttributes.js index 438ca3e1..f4e2a848 100644 --- a/web/app/store/ServerAttributes.js +++ b/web/app/store/ServerAttributes.js @@ -55,5 +55,13 @@ Ext.define('Traccar.store.ServerAttributes', { key: 'ui.disableVehicleFetures', name: Strings.attributeUiDisableVehicleFetures, valueType: 'boolean' + }, { + key: 'ui.disableDrivers', + name: Strings.attributeUiDisableDrivers, + valueType: 'boolean' + }, { + key: 'ui.disableComputedAttributes', + name: Strings.attributeUiDisableComputedAttributes, + valueType: 'boolean' }] }); diff --git a/web/app/store/UserAttributes.js b/web/app/store/UserAttributes.js index 8e1acfb1..dbee1ed8 100644 --- a/web/app/store/UserAttributes.js +++ b/web/app/store/UserAttributes.js @@ -87,5 +87,13 @@ Ext.define('Traccar.store.UserAttributes', { key: 'ui.disableVehicleFetures', name: Strings.attributeUiDisableVehicleFetures, valueType: 'boolean' + }, { + key: 'ui.disableDrivers', + name: Strings.attributeUiDisableDrivers, + valueType: 'boolean' + }, { + key: 'ui.disableComputedAttributes', + name: Strings.attributeUiDisableComputedAttributes, + valueType: 'boolean' }] }); |