From a5b07f774963f4a149f692d66753360ccdc3982e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Cie=C5=9Blak?= Date: Fri, 14 Apr 2023 12:10:07 +0200 Subject: [PATCH] Update missing color in Connect, reorder More Options menu items --- .../teleterm/src/ui/TopBar/MoreOptions.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/web/packages/teleterm/src/ui/TopBar/MoreOptions.tsx b/web/packages/teleterm/src/ui/TopBar/MoreOptions.tsx index b6a735970910b..6bdc714a0ed23 100644 --- a/web/packages/teleterm/src/ui/TopBar/MoreOptions.tsx +++ b/web/packages/teleterm/src/ui/TopBar/MoreOptions.tsx @@ -64,6 +64,13 @@ function useMenuItems(): MenuItem[] { const isSearchBarEnabled = configService.get('feature.searchBar').value; const menuItems: MenuItem[] = [ + { + title: 'Open new terminal', + isVisible: isSearchBarEnabled, + Icon: icons.Terminal, + keyboardShortcutAction: 'newTerminalTab', + onNavigate: openTerminalTab, + }, { title: 'Open config file', isVisible: true, @@ -73,13 +80,6 @@ function useMenuItems(): MenuItem[] { notificationsService.notifyInfo(`Opened the config file at ${path}.`); }, }, - { - title: 'Open new terminal', - isVisible: isSearchBarEnabled, - Icon: icons.Terminal, - keyboardShortcutAction: 'newTerminalTab', - onNavigate: openTerminalTab, - }, { title: 'Install tsh in PATH', isVisible: isSearchBarEnabled && isDarwin, @@ -222,7 +222,7 @@ function MenuItem({ padding: ${props => props.theme.space[1]}px ${props => props.theme.space[1]}px; `} - bg="primary.main" + bg="levels.surfaceSecondary" > {getAccelerator(item.keyboardShortcutAction)}