diff options
Diffstat (limited to 'web/app/model/Notification.js')
-rw-r--r-- | web/app/model/Notification.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/web/app/model/Notification.js b/web/app/model/Notification.js index 1e6c36c5..54f6674c 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', - identifier: 'negative', + idProperty: 'type', fields: [{ name: 'id', @@ -30,5 +30,11 @@ Ext.define('Traccar.model.Notification', { type: 'int' }, { name: 'attributes' + }, { + name: 'web', + type: 'bool' + }, { + name: 'mail', + type: 'bool' }] }); |