diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-12 15:18:13 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-12 15:18:13 +1300 |
commit | 62db06b85439b21a7851016f3e9c17f0abfe7185 (patch) | |
tree | 2d863264125d06c96a49895a91e8a279be979443 /web/app/store | |
parent | 689d2b691829301014e85b5f7ce5804b0649be09 (diff) | |
download | etbsa-traccar-web-62db06b85439b21a7851016f3e9c17f0abfe7185.tar.gz etbsa-traccar-web-62db06b85439b21a7851016f3e9c17f0abfe7185.tar.bz2 etbsa-traccar-web-62db06b85439b21a7851016f3e9c17f0abfe7185.zip |
Rename maintenances to maintenance
Diffstat (limited to 'web/app/store')
-rw-r--r-- | web/app/store/AllMaintenances.js | 2 | ||||
-rw-r--r-- | web/app/store/CommonUserAttributes.js | 4 | ||||
-rw-r--r-- | web/app/store/Maintenances.js | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/web/app/store/AllMaintenances.js b/web/app/store/AllMaintenances.js index 745b5d6..8435ad4 100644 --- a/web/app/store/AllMaintenances.js +++ b/web/app/store/AllMaintenances.js @@ -22,7 +22,7 @@ Ext.define('Traccar.store.AllMaintenances', { proxy: { type: 'rest', - url: 'api/maintenances', + url: 'api/maintenance', extraParams: { all: true } diff --git a/web/app/store/CommonUserAttributes.js b/web/app/store/CommonUserAttributes.js index 0ee9e16..a8e9282 100644 --- a/web/app/store/CommonUserAttributes.js +++ b/web/app/store/CommonUserAttributes.js @@ -63,8 +63,8 @@ Ext.define('Traccar.store.CommonUserAttributes', { name: Strings.attributeUiDisableCalendars, valueType: 'boolean' }, { - key: 'ui.disableMaintenances', - name: Strings.attributeUiDisableMaintenances, + key: 'ui.disableMaintenance', + name: Strings.attributeUiDisableMaintenance, valueType: 'boolean' }, { key: 'ui.hidePositionAttributes', diff --git a/web/app/store/Maintenances.js b/web/app/store/Maintenances.js index 43d6ba5..a7aa4a0 100644 --- a/web/app/store/Maintenances.js +++ b/web/app/store/Maintenances.js @@ -22,7 +22,7 @@ Ext.define('Traccar.store.Maintenances', { proxy: { type: 'rest', - url: 'api/maintenances', + url: 'api/maintenance', writer: { writeAllFields: true } |