fix(core): remove duplicate windows controls when right sidebar is expanded (#6480)

close TOV-786
This commit is contained in:
JimmFly 2024-04-09 04:17:31 +00:00
parent 8bcc89f8fc
commit 5064ef2a94
No known key found for this signature in database
GPG Key ID: 14A6F56854E1BED7

View File

@ -72,7 +72,7 @@ export const RouteContainer = ({ route }: Props) => {
onToggle={handleToggleRightSidebar}
/>
)}
{isWindowsDesktop && (
{isWindowsDesktop && !rightSidebarOpen && (
<div className={styles.windowsAppControlsContainer}>
<WindowsAppControls />
</div>