From 5064ef2a94cda5d5540a930322ab88c4c28064be Mon Sep 17 00:00:00 2001 From: JimmFly <447268514@qq.com> Date: Tue, 9 Apr 2024 04:17:31 +0000 Subject: [PATCH] fix(core): remove duplicate windows controls when right sidebar is expanded (#6480) close TOV-786 --- .../core/src/modules/workbench/view/route-container.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/core/src/modules/workbench/view/route-container.tsx b/packages/frontend/core/src/modules/workbench/view/route-container.tsx index bf561afd68..8db2b9299d 100644 --- a/packages/frontend/core/src/modules/workbench/view/route-container.tsx +++ b/packages/frontend/core/src/modules/workbench/view/route-container.tsx @@ -72,7 +72,7 @@ export const RouteContainer = ({ route }: Props) => { onToggle={handleToggleRightSidebar} /> )} - {isWindowsDesktop && ( + {isWindowsDesktop && !rightSidebarOpen && (