aboutsummaryrefslogtreecommitdiff
path: root/web/app/model/Device.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-09 23:13:06 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-09 23:13:06 +1300
commit5634860cbe5c43007df354acba79d5051c1eb987 (patch)
tree1c0eb8043b2a83eaa92f0902a4e67b3c4c22d82d /web/app/model/Device.js
parent71c5871dc0221d7a82851f2c3ca3cd2b594982f2 (diff)
downloadtrackermap-server-5634860cbe5c43007df354acba79d5051c1eb987.tar.gz
trackermap-server-5634860cbe5c43007df354acba79d5051c1eb987.tar.bz2
trackermap-server-5634860cbe5c43007df354acba79d5051c1eb987.zip
Add parent field for device and group
Diffstat (limited to 'web/app/model/Device.js')
-rw-r--r--web/app/model/Device.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/app/model/Device.js b/web/app/model/Device.js
index 709d51953..588d53c1f 100644
--- a/web/app/model/Device.js
+++ b/web/app/model/Device.js
@@ -34,5 +34,8 @@ Ext.define('Traccar.model.Device', {
name: 'lastUpdate',
type: 'date',
dateFormat: 'c'
+ }, {
+ name: 'groupId',
+ type: 'int'
}]
});