From 7eae1c2e58351bb610201eb4469e8d91a191db73 Mon Sep 17 00:00:00 2001 From: ameer2468 <33054370+ameer2468@users.noreply.github.com> Date: Tue, 27 Aug 2024 16:57:07 +0300 Subject: [PATCH] [ENG-1874] Always show windows top bar options (#2692) always show windows top bar options --- .../app/$libraryId/TopBar/TopBarOptions.tsx | 4 +-- interface/app/$libraryId/overview/index.tsx | 31 +------------------ 2 files changed, 3 insertions(+), 32 deletions(-) diff --git a/interface/app/$libraryId/TopBar/TopBarOptions.tsx b/interface/app/$libraryId/TopBar/TopBarOptions.tsx index 85274a022..6e5716c47 100644 --- a/interface/app/$libraryId/TopBar/TopBarOptions.tsx +++ b/interface/app/$libraryId/TopBar/TopBarOptions.tsx @@ -66,7 +66,6 @@ export default ({ options }: TopBarChildrenProps) => { /> )) )} - {os === 'windows' && } { windowSize <= 1279 && (toolsNotSmFlex?.length as number) > 0 ? 'flex' : 'hidden' } /> + {os === 'windows' && } ); }; @@ -193,7 +193,7 @@ export function WindowsControls({ windowSize }: { windowSize: number }) { getWindowState().catch(console.error); }, [getWindowState, windowSize]); return ( -
+
{
} center={} - right={ - os === 'windows' && - // {}, - // icon: , - // individual: true, - // showAtResolution: 'sm:flex' - // }, - // { - // toolTipLabel: 'Key Manager', - // onClick: () => {}, - // icon: , - // individual: true, - // showAtResolution: 'sm:flex' - // }, - // { - // toolTipLabel: 'Overview Display Settings', - // onClick: () => {}, - // icon: , - // individual: true, - // showAtResolution: 'sm:flex' - // } - // ] - // ]} - // /> - } + right={os === 'windows' && } />