aboutsummaryrefslogtreecommitdiff
path: root/web/app/model
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/model')
-rw-r--r--web/app/model/Device.js3
-rw-r--r--web/app/model/Group.js3
2 files changed, 6 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'
}]
});
diff --git a/web/app/model/Group.js b/web/app/model/Group.js
index 22e160315..a28897feb 100644
--- a/web/app/model/Group.js
+++ b/web/app/model/Group.js
@@ -24,5 +24,8 @@ Ext.define('Traccar.model.Group', {
}, {
name: 'name',
type: 'string'
+ }, {
+ name: 'groupId',
+ type: 'int'
}]
});