aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-10-08 15:55:32 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-10-08 15:55:32 +1300
commit06e0f5fd8f32e8f0fbcbce6efd2fcc759b718689 (patch)
treeea740c8d3e57def518941dcdf74f13e5d4cd3737 /web/app/view
parent546237415feccc2cc4974103241a12e4aff3ea06 (diff)
downloadtrackermap-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.js1
-rw-r--r--web/app/view/SettingsMenuController.js1
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);
}
},