aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/NotificationsController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/NotificationsController.js')
-rw-r--r--web/app/view/NotificationsController.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/app/view/NotificationsController.js b/web/app/view/NotificationsController.js
index 628343a84..d880c5d41 100644
--- a/web/app/view/NotificationsController.js
+++ b/web/app/view/NotificationsController.js
@@ -18,6 +18,10 @@ Ext.define('Traccar.view.NotificationsController', {
extend: 'Ext.app.ViewController',
alias: 'controller.notificationsController',
+ requires: [
+ 'Traccar.store.Notifications'
+ ],
+
init: function () {
this.userId = this.getView().user.getData().id;
this.getView().getStore().load({