aboutsummaryrefslogtreecommitdiff
path: root/web/app/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-17 15:52:39 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-17 15:52:39 +1300
commitb247a05d4cc34cf587fc0b4299692d401124055a (patch)
tree2865e78e19fae20f4961898c4ad54038d24457e0 /web/app/model
parent5e56a1fbf80033cf5cc30ec7767d3cd92ab41cde (diff)
downloadtraccar-server-b247a05d4cc34cf587fc0b4299692d401124055a.tar.gz
traccar-server-b247a05d4cc34cf587fc0b4299692d401124055a.tar.bz2
traccar-server-b247a05d4cc34cf587fc0b4299692d401124055a.zip
Show last update in the status table
Diffstat (limited to 'web/app/model')
-rw-r--r--web/app/model/Device.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/app/model/Device.js b/web/app/model/Device.js
index e9ed1f680..983e3e62e 100644
--- a/web/app/model/Device.js
+++ b/web/app/model/Device.js
@@ -27,5 +27,11 @@ Ext.define('Traccar.model.Device', {
}, {
name: 'uniqueId',
type: 'string'
+ }, {
+ name: 'status',
+ type: 'string'
+ }, {
+ name: 'lastUpdate',
+ type: 'date'
}]
});