diff options
author | Abyss777 <abyss@fox5.ru> | 2016-11-29 10:03:51 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-11-29 10:03:51 +0500 |
commit | 9289e40a4e32fc0f9a41dea6674ac8b2a2e4d313 (patch) | |
tree | 84640852ffbdef6179c7728c0eccd761d5069928 /web/app/model | |
parent | 957b3f0ed0e71ae1312a3790ba0a23c45dd3db5f (diff) | |
download | trackermap-web-9289e40a4e32fc0f9a41dea6674ac8b2a2e4d313.tar.gz trackermap-web-9289e40a4e32fc0f9a41dea6674ac8b2a2e4d313.tar.bz2 trackermap-web-9289e40a4e32fc0f9a41dea6674ac8b2a2e4d313.zip |
Improve Notifications handling
Diffstat (limited to 'web/app/model')
-rw-r--r-- | web/app/model/Notification.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/web/app/model/Notification.js b/web/app/model/Notification.js index 1e6c36c5..04dca9bf 100644 --- a/web/app/model/Notification.js +++ b/web/app/model/Notification.js @@ -30,5 +30,13 @@ Ext.define('Traccar.model.Notification', { type: 'int' }, { name: 'attributes' + }, { + name: 'attributes.web', + type: 'bool', + mapping: 'attributes.web' + }, { + name: 'attributes.mail', + type: 'bool', + mapping: 'attributes.mail' }] }); |