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.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/app/store/Notifications.js b/web/app/store/Notifications.js
index e4d2991..d79702f 100644
--- a/web/app/store/Notifications.js
+++ b/web/app/store/Notifications.js
@@ -22,5 +22,7 @@ Ext.define('Traccar.store.Notifications', {
proxy: {
type: 'rest',
url: 'api/users/notifications'
- }
+ },
+ sortOnLoad: true,
+ sorters: { property: 'type', direction : 'ASC' }
});