aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-11-12 15:18:13 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-11-12 15:18:13 +1300
commit62db06b85439b21a7851016f3e9c17f0abfe7185 (patch)
tree2d863264125d06c96a49895a91e8a279be979443 /web/app/store
parent689d2b691829301014e85b5f7ce5804b0649be09 (diff)
downloadtrackermap-web-62db06b85439b21a7851016f3e9c17f0abfe7185.tar.gz
trackermap-web-62db06b85439b21a7851016f3e9c17f0abfe7185.tar.bz2
trackermap-web-62db06b85439b21a7851016f3e9c17f0abfe7185.zip
Rename maintenances to maintenance
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/AllMaintenances.js2
-rw-r--r--web/app/store/CommonUserAttributes.js4
-rw-r--r--web/app/store/Maintenances.js2
3 files changed, 4 insertions, 4 deletions
diff --git a/web/app/store/AllMaintenances.js b/web/app/store/AllMaintenances.js
index 745b5d64..8435ad40 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 0ee9e163..a8e92825 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 43d6ba5b..a7aa4a07 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
}