aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/StateController.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-05-19 09:25:53 +0500
committerAbyss777 <abyss@fox5.ru>2017-05-19 09:25:53 +0500
commit3cd2d2e792d558886e404913780116d99a443d74 (patch)
tree9aec911b9af73dfdcd2db6e8514887a34aaa5eec /web/app/view/StateController.js
parent788a499b346724d753798597fb18f8aef17e1588 (diff)
downloadtrackermap-web-3cd2d2e792d558886e404913780116d99a443d74.tar.gz
trackermap-web-3cd2d2e792d558886e404913780116d99a443d74.tar.bz2
trackermap-web-3cd2d2e792d558886e404913780116d99a443d74.zip
Position attribute name rendering optimization
Diffstat (limited to 'web/app/view/StateController.js')
-rw-r--r--web/app/view/StateController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/StateController.js b/web/app/view/StateController.js
index 1525db26..0723dc13 100644
--- a/web/app/view/StateController.js
+++ b/web/app/view/StateController.js
@@ -124,7 +124,7 @@ Ext.define('Traccar.view.StateController', {
if (aliasIndex !== -1) {
name = this.aliasesStore.getAt(aliasIndex).get('alias');
} else {
- name = Ext.getStore('PositionAttributes').getAttributeName(key);
+ name = Ext.getStore('PositionAttributes').getAttributeName(key, true);
}
store.add(Ext.create('Traccar.model.Attribute', {
priority: 1024,