aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-09-26 12:47:53 +0500
committerAbyss777 <abyss@fox5.ru>2016-09-26 12:47:53 +0500
commit6a1a261466fae6a6718cd3c0cb43b6061ec86fba (patch)
tree0e20861bcfe3b6df85e118671c4adb5f276e22ff /web/app/store
parent5ed0dc673f073078542aee35c21ac6e041545423 (diff)
downloadtrackermap-web-6a1a261466fae6a6718cd3c0cb43b6061ec86fba.tar.gz
trackermap-web-6a1a261466fae6a6718cd3c0cb43b6061ec86fba.tar.bz2
trackermap-web-6a1a261466fae6a6718cd3c0cb43b6061ec86fba.zip
- Renamed stores
- Removed 'alias' field from attribute model - Some optimizations - Fixed alarm colorizing
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/AllAttributeAliases.js (renamed from web/app/store/AllAttributesAliases.js)4
-rw-r--r--web/app/store/AttributeAliases.js (renamed from web/app/store/AttributesAliases.js)4
2 files changed, 4 insertions, 4 deletions
diff --git a/web/app/store/AllAttributesAliases.js b/web/app/store/AllAttributeAliases.js
index 7eb6c0c1..c351d0d7 100644
--- a/web/app/store/AllAttributesAliases.js
+++ b/web/app/store/AllAttributeAliases.js
@@ -16,13 +16,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-Ext.define('Traccar.store.AllAttributesAliases', {
+Ext.define('Traccar.store.AllAttributeAliases', {
extend: 'Ext.data.Store',
model: 'Traccar.model.AttributeAlias',
proxy: {
type: 'rest',
- url: 'api/devices/aliases',
+ url: 'api/attributes/aliases',
writer: {
writeAllFields: true
}
diff --git a/web/app/store/AttributesAliases.js b/web/app/store/AttributeAliases.js
index 1f8d11de..ebec8c87 100644
--- a/web/app/store/AttributesAliases.js
+++ b/web/app/store/AttributeAliases.js
@@ -16,13 +16,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-Ext.define('Traccar.store.AttributesAliases', {
+Ext.define('Traccar.store.AttributeAliases', {
extend: 'Ext.data.Store',
model: 'Traccar.model.AttributeAlias',
proxy: {
type: 'rest',
- url: 'api/devices/aliases',
+ url: 'api/attributes/aliases',
writer: {
writeAllFields: true
}