diff options
Diffstat (limited to 'web/app/store/Notifications.js')
-rw-r--r-- | web/app/store/Notifications.js | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/web/app/store/Notifications.js b/web/app/store/Notifications.js index a672fd43..b30505fd 100644 --- a/web/app/store/Notifications.js +++ b/web/app/store/Notifications.js @@ -21,11 +21,9 @@ Ext.define('Traccar.store.Notifications', { proxy: { type: 'rest', - url: 'api/users/notifications' - }, - sortOnLoad: true, - sorters: { - property: 'type', - direction: 'ASC' + url: 'api/notifications', + writer: { + writeAllFields: true + } } }); |