aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-08-27 23:45:17 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-08-27 23:45:17 -0700
commitf3e168f082bc4142d0651ead2f493e8952e72014 (patch)
tree03c233f8c747f2339e7925fe4027448b79a70d73 /web/app/store
parent2988629a563ad906d9c4307ccf0daf86d8fef210 (diff)
downloadtrackermap-web-f3e168f082bc4142d0651ead2f493e8952e72014.tar.gz
trackermap-web-f3e168f082bc4142d0651ead2f493e8952e72014.tar.bz2
trackermap-web-f3e168f082bc4142d0651ead2f493e8952e72014.zip
Add device inactivity event
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/DeviceAttributes.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/app/store/DeviceAttributes.js b/web/app/store/DeviceAttributes.js
index c7a4abef..45ae6e3d 100644
--- a/web/app/store/DeviceAttributes.js
+++ b/web/app/store/DeviceAttributes.js
@@ -36,5 +36,17 @@ Ext.define('Traccar.store.DeviceAttributes', {
name: Strings.sharedTimezone,
valueType: 'string',
dataType: 'timezone'
+ }, {
+ key: 'deviceInactivityStart',
+ name: Strings.attributeDeviceInactivityStart,
+ valueType: 'number',
+ allowDecimals: false,
+ minValue: 1
+ }, {
+ key: 'deviceInactivityPeriod',
+ name: Strings.attributeDeviceInactivityPeriod,
+ valueType: 'number',
+ allowDecimals: false,
+ minValue: 1
}]
});