diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-20 19:37:14 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-20 19:37:14 +1200 |
commit | adf79e9bc86bc485ea3fa02c4d25b11d8fffee1f (patch) | |
tree | 5879cb06e5b81dcc7570f35754ef443005200cb7 /web/app/view/SettingsMenuController.js | |
parent | d078ef703795ed9c1fb0b6111ee7d12e09143f82 (diff) | |
parent | cf1c138bca946cd354e97cea0c841af1ad0f3e4e (diff) | |
download | trackermap-web-adf79e9bc86bc485ea3fa02c4d25b11d8fffee1f.tar.gz trackermap-web-adf79e9bc86bc485ea3fa02c4d25b11d8fffee1f.tar.bz2 trackermap-web-adf79e9bc86bc485ea3fa02c4d25b11d8fffee1f.zip |
Merge pull request #588 from Abyss777/extended_notifications2
Implement Notifications per device
Diffstat (limited to 'web/app/view/SettingsMenuController.js')
-rw-r--r-- | web/app/view/SettingsMenuController.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/web/app/view/SettingsMenuController.js b/web/app/view/SettingsMenuController.js index caa57a67..2ebb8589 100644 --- a/web/app/view/SettingsMenuController.js +++ b/web/app/view/SettingsMenuController.js @@ -27,7 +27,7 @@ Ext.define('Traccar.view.SettingsMenuController', { 'Traccar.view.edit.Groups', 'Traccar.view.edit.Geofences', 'Traccar.view.edit.Drivers', - 'Traccar.view.Notifications', + 'Traccar.view.edit.Notifications', 'Traccar.view.edit.ComputedAttributes', 'Traccar.view.Statistics', 'Traccar.view.dialog.DeviceDistance', @@ -110,12 +110,10 @@ Ext.define('Traccar.view.SettingsMenuController', { }, onNotificationsClick: function () { - var user = Traccar.app.getUser(); Ext.create('Traccar.view.BaseWindow', { title: Strings.sharedNotifications, items: { - xtype: 'notificationsView', - user: user + xtype: 'notificationsView' } }).show(); }, |