aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/StateController.js
diff options
context:
space:
mode:
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,