aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/device/Device.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-16 22:45:14 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-16 22:45:14 +1200
commit4154c2cd31f23c5d5fb336dfcd68ba192b297f93 (patch)
treeb1178bbc26479f580606e8a70a1004a8cea46522 /web/app/view/device/Device.js
parent607522a21625610248db7a586e6285bbb0331391 (diff)
downloadtrackermap-server-4154c2cd31f23c5d5fb336dfcd68ba192b297f93.tar.gz
trackermap-server-4154c2cd31f23c5d5fb336dfcd68ba192b297f93.tar.bz2
trackermap-server-4154c2cd31f23c5d5fb336dfcd68ba192b297f93.zip
More JavaScript code cleanup
Diffstat (limited to 'web/app/view/device/Device.js')
-rw-r--r--web/app/view/device/Device.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/web/app/view/device/Device.js b/web/app/view/device/Device.js
index 9cb2123dd..d77f405bd 100644
--- a/web/app/view/device/Device.js
+++ b/web/app/view/device/Device.js
@@ -82,9 +82,12 @@ Ext.define('Traccar.view.device.Device', {
selectionchange: 'onSelectionChange'
},
- columns: [
- { text: strings.deviceName, dataIndex: 'name', flex: 1 },
- { text: strings.deviceIdentifier, dataIndex: 'uniqueId', flex: 1 }
- ]
+ columns: [{
+ text: strings.deviceName,
+ dataIndex: 'name', flex: 1
+ }, {
+ text: strings.deviceIdentifier,
+ dataIndex: 'uniqueId', flex: 1
+ }]
});