From 06e0f5fd8f32e8f0fbcbce6efd2fcc759b718689 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 8 Oct 2016 15:55:32 +1300 Subject: Allow natifications in readonly mode --- web/app/view/SettingsMenu.js | 1 - web/app/view/SettingsMenuController.js | 1 - 2 files changed, 2 deletions(-) (limited to 'web/app') 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); } }, -- cgit v1.2.3