diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-08 15:55:32 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-08 15:55:32 +1300 |
commit | 06e0f5fd8f32e8f0fbcbce6efd2fcc759b718689 (patch) | |
tree | ea740c8d3e57def518941dcdf74f13e5d4cd3737 /web/app/view | |
parent | 546237415feccc2cc4974103241a12e4aff3ea06 (diff) | |
download | trackermap-web-06e0f5fd8f32e8f0fbcbce6efd2fcc759b718689.tar.gz trackermap-web-06e0f5fd8f32e8f0fbcbce6efd2fcc759b718689.tar.bz2 trackermap-web-06e0f5fd8f32e8f0fbcbce6efd2fcc759b718689.zip |
Allow natifications in readonly mode
Diffstat (limited to 'web/app/view')
-rw-r--r-- | web/app/view/SettingsMenu.js | 1 | ||||
-rw-r--r-- | web/app/view/SettingsMenuController.js | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/web/app/view/SettingsMenu.js b/web/app/view/SettingsMenu.js index 391db56f..e1f6bf21 100644 --- a/web/app/view/SettingsMenu.js +++ b/web/app/view/SettingsMenu.js @@ -53,7 +53,6 @@ Ext.define('Traccar.view.SettingsMenu', { handler: 'onUsersClick', reference: 'settingsUsersButton' }, { - hidden: true, text: Strings.sharedNotifications, handler: 'onNotificationsClick', reference: 'settingsNotificationsButton' diff --git a/web/app/view/SettingsMenuController.js b/web/app/view/SettingsMenuController.js index ceef8aba..7a2b718b 100644 --- a/web/app/view/SettingsMenuController.js +++ b/web/app/view/SettingsMenuController.js @@ -42,7 +42,6 @@ Ext.define('Traccar.view.SettingsMenuController', { if (admin || !readonly) { this.lookupReference('settingsGroupsButton').setHidden(false); this.lookupReference('settingsGeofencesButton').setHidden(false); - this.lookupReference('settingsNotificationsButton').setHidden(false); this.lookupReference('settingsAttributeAliasesButton').setHidden(false); } }, |