aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-09-20 22:27:29 +1200
committerGitHub <noreply@github.com>2017-09-20 22:27:29 +1200
commitee56eda11f169a8a9157098827b57a79dc7c841a (patch)
tree33158a0fca300aac5013e23a7fce89eb3998e8d4 /web/app/store
parentadf79e9bc86bc485ea3fa02c4d25b11d8fffee1f (diff)
parentc16972a1f574189b9b21fc237336440cdba10f0d (diff)
downloadetbsa-traccar-web-ee56eda11f169a8a9157098827b57a79dc7c841a.tar.gz
etbsa-traccar-web-ee56eda11f169a8a9157098827b57a79dc7c841a.tar.bz2
etbsa-traccar-web-ee56eda11f169a8a9157098827b57a79dc7c841a.zip
Merge pull request #589 from Abyss777/move_distance_menu
Move Device Distance to Device Menu
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/AllCommandTypes.js2
-rw-r--r--web/app/store/CommandTypes.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/app/store/AllCommandTypes.js b/web/app/store/AllCommandTypes.js
index aac9d59..c86d071 100644
--- a/web/app/store/AllCommandTypes.js
+++ b/web/app/store/AllCommandTypes.js
@@ -22,7 +22,7 @@ Ext.define('Traccar.store.AllCommandTypes', {
proxy: {
type: 'rest',
- url: 'api/commandtypes',
+ url: 'api/commands/types',
listeners: {
'exception': function (proxy, response) {
Traccar.app.showError(response);
diff --git a/web/app/store/CommandTypes.js b/web/app/store/CommandTypes.js
index f14cb59..3b898f2 100644
--- a/web/app/store/CommandTypes.js
+++ b/web/app/store/CommandTypes.js
@@ -22,7 +22,7 @@ Ext.define('Traccar.store.CommandTypes', {
proxy: {
type: 'rest',
- url: 'api/commandtypes',
+ url: 'api/commands/types',
listeners: {
'exception': function (proxy, response) {
Traccar.app.showError(response);