diff options
author | Abyss777 <abyss@fox5.ru> | 2017-09-19 09:36:16 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-09-19 16:38:28 +0500 |
commit | 3a5e334b50bf35d11743d937c9fae2fb8c7829ec (patch) | |
tree | f66c5d8ddcbe861b045e20d0390e8987ac329d7b /web/app/model/Notification.js | |
parent | d078ef703795ed9c1fb0b6111ee7d12e09143f82 (diff) | |
download | trackermap-web-3a5e334b50bf35d11743d937c9fae2fb8c7829ec.tar.gz trackermap-web-3a5e334b50bf35d11743d937c9fae2fb8c7829ec.tar.bz2 trackermap-web-3a5e334b50bf35d11743d937c9fae2fb8c7829ec.zip |
Implement Notifications per device
Diffstat (limited to 'web/app/model/Notification.js')
-rw-r--r-- | web/app/model/Notification.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/app/model/Notification.js b/web/app/model/Notification.js index 3ae13c05..0d479f4f 100644 --- a/web/app/model/Notification.js +++ b/web/app/model/Notification.js @@ -17,7 +17,7 @@ Ext.define('Traccar.model.Notification', { extend: 'Ext.data.Model', - idProperty: 'type', + identifier: 'negative', fields: [{ name: 'id', @@ -26,8 +26,8 @@ Ext.define('Traccar.model.Notification', { name: 'type', type: 'string' }, { - name: 'userId', - type: 'int' + name: 'always', + type: 'bool' }, { name: 'attributes' }, { |