aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/Notifications.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/store/Notifications.js')
-rw-r--r--web/app/store/Notifications.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/web/app/store/Notifications.js b/web/app/store/Notifications.js
index a672fd4..b30505f 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
+ }
}
});