diff options
Diffstat (limited to 'web/app/view/edit/Attributes.js')
-rw-r--r-- | web/app/view/edit/Attributes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/edit/Attributes.js b/web/app/view/edit/Attributes.js index cb0503de..af4f5a90 100644 --- a/web/app/view/edit/Attributes.js +++ b/web/app/view/edit/Attributes.js @@ -48,7 +48,7 @@ Ext.define('Traccar.view.edit.Attributes', { if (this.attributesStore) { attribute = Ext.getStore(this.attributesStore).getById(value); } - return attribute && attribute.get('name') ? attribute.get('name') : value; + return attribute && attribute.get('name') || value; } }, { text: Strings.stateValue, |