diff options
Diffstat (limited to 'web/app/view/permissions/GroupAttributes.js')
-rw-r--r-- | web/app/view/permissions/GroupAttributes.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/web/app/view/permissions/GroupAttributes.js b/web/app/view/permissions/GroupAttributes.js index 3972dbec..44089daf 100644 --- a/web/app/view/permissions/GroupAttributes.js +++ b/web/app/view/permissions/GroupAttributes.js @@ -32,12 +32,7 @@ Ext.define('Traccar.view.permissions.GroupAttributes', { flex: 1, minWidth: Traccar.Style.columnWidthNormal, renderer: function (value) { - var attribute = Ext.getStore('PositionAttributes').getById(value); - if (attribute) { - return attribute.get('name'); - } else { - return value; - } + return Ext.getStore('PositionAttributes').getAttributeName(value); } }] } |