aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/permissions/DeviceAttributes.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/permissions/DeviceAttributes.js')
-rw-r--r--web/app/view/permissions/DeviceAttributes.js5
1 files changed, 4 insertions, 1 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);
+ }
}]
}
});