From 17157262fef1c046d116b2270f4e1d335fe9da1b Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 26 Jun 2018 12:00:15 +0500 Subject: Implement refactored notifications --- web/app/controller/Root.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'web/app/controller/Root.js') diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js index 312fc157..0edc049a 100644 --- a/web/app/controller/Root.js +++ b/web/app/controller/Root.js @@ -129,6 +129,7 @@ Ext.define('Traccar.controller.Root', { } } }); + Ext.getStore('AllNotificators').load(); Ext.getStore('Notifications').load(); Ext.getStore('ServerAttributes').loadData(Ext.getStore('CommonDeviceAttributes').getData().items, true); @@ -289,6 +290,8 @@ Ext.define('Traccar.controller.Root', { this.beep(); } Traccar.app.showToast(array[i].text, device.get('name')); + } else { + Traccar.app.showToast(array[i].text); } } }, -- cgit v1.2.3