From c16972a1f574189b9b21fc237336440cdba10f0d Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Wed, 20 Sep 2017 15:20:41 +0500 Subject: Move Device Distance to Device Menu --- web/app/store/AllCommandTypes.js | 2 +- web/app/store/CommandTypes.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'web/app/store') 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); -- cgit v1.2.3