From 9289e40a4e32fc0f9a41dea6674ac8b2a2e4d313 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 29 Nov 2016 10:03:51 +0500 Subject: Improve Notifications handling --- web/app/model/Notification.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'web/app/model') diff --git a/web/app/model/Notification.js b/web/app/model/Notification.js index 1e6c36c..04dca9b 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' }] }); -- cgit v1.2.3