diff options
Diffstat (limited to 'web/app/view/permissions')
-rw-r--r-- | web/app/view/permissions/DeviceAttributes.js | 5 | ||||
-rw-r--r-- | web/app/view/permissions/GroupAttributes.js | 5 | ||||
-rw-r--r-- | web/app/view/permissions/UserAttributes.js | 5 |
3 files changed, 12 insertions, 3 deletions
diff --git a/web/app/view/permissions/DeviceAttributes.js b/web/app/view/permissions/DeviceAttributes.js index 2f837c42..2ce07633 100644 --- a/web/app/view/permissions/DeviceAttributes.js +++ b/web/app/view/permissions/DeviceAttributes.js @@ -30,7 +30,10 @@ Ext.define('Traccar.view.permissions.DeviceAttributes', { text: Strings.sharedAttribute, dataIndex: 'attribute', flex: 1, - minWidth: Traccar.Style.columnWidthNormal + minWidth: Traccar.Style.columnWidthNormal, + renderer: function (value) { + return Ext.getStore('PositionAttributes').getAttributeName(value); + } }] } }); diff --git a/web/app/view/permissions/GroupAttributes.js b/web/app/view/permissions/GroupAttributes.js index a08eb78e..44089daf 100644 --- a/web/app/view/permissions/GroupAttributes.js +++ b/web/app/view/permissions/GroupAttributes.js @@ -30,7 +30,10 @@ Ext.define('Traccar.view.permissions.GroupAttributes', { text: Strings.sharedAttribute, dataIndex: 'attribute', flex: 1, - minWidth: Traccar.Style.columnWidthNormal + minWidth: Traccar.Style.columnWidthNormal, + renderer: function (value) { + return Ext.getStore('PositionAttributes').getAttributeName(value); + } }] } }); diff --git a/web/app/view/permissions/UserAttributes.js b/web/app/view/permissions/UserAttributes.js index 056c4634..7bca6223 100644 --- a/web/app/view/permissions/UserAttributes.js +++ b/web/app/view/permissions/UserAttributes.js @@ -30,7 +30,10 @@ Ext.define('Traccar.view.permissions.UserAttributes', { text: Strings.sharedAttribute, dataIndex: 'attribute', flex: 1, - minWidth: Traccar.Style.columnWidthNormal + minWidth: Traccar.Style.columnWidthNormal, + renderer: function (value) { + return Ext.getStore('PositionAttributes').getAttributeName(value); + } }] } }); |