aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserDevices.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/UserDevices.js')
-rw-r--r--web/app/view/UserDevices.js22
1 files changed, 13 insertions, 9 deletions
diff --git a/web/app/view/UserDevices.js b/web/app/view/UserDevices.js
index f5731347..1f68a29a 100644
--- a/web/app/view/UserDevices.js
+++ b/web/app/view/UserDevices.js
@@ -36,13 +36,17 @@ Ext.define('Traccar.view.UserDevices', {
beforeselect: 'onBeforeSelect'
},
- columns: [{
- text: Strings.sharedName,
- dataIndex: 'name',
- flex: 1
- }, {
- text: Strings.deviceIdentifier,
- dataIndex: 'uniqueId',
- flex: 1
- }]
+ forceFit: true,
+
+ columns: {
+ items: [{
+ text: Strings.sharedName,
+ minWidth: Traccar.Style.columnWidthNormal,
+ dataIndex: 'name'
+ }, {
+ text: Strings.deviceIdentifier,
+ minWidth: Traccar.Style.columnWidthNormal,
+ dataIndex: 'uniqueId'
+ }]
+ }
});