From 5a8f6cd8351109689517d0a8cb218e3a02293aaf Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 4 Nov 2022 08:55:52 -0700 Subject: Limit command types --- modern/src/settings/components/SettingsMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src/settings/components/SettingsMenu.js') diff --git a/modern/src/settings/components/SettingsMenu.js b/modern/src/settings/components/SettingsMenu.js index c6aac4b5..c732fc9f 100644 --- a/modern/src/settings/components/SettingsMenu.js +++ b/modern/src/settings/components/SettingsMenu.js @@ -123,7 +123,7 @@ const SettingsMenu = () => { title={t('sharedSavedCommands')} link="/settings/commands" icon={} - selected={location.pathname.startsWith('/settings/command')} + selected={location.pathname.startsWith('/settings/command') && !location.pathname.startsWith('/settings/command-send')} /> )} -- cgit v1.2.3