mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
call isDev() function to properly hide workspace switcher in prod (#1154)
This commit is contained in:
parent
2f5837b0f6
commit
d0d9095c92
@ -542,7 +542,7 @@ const TabBar = React.memo(({ workspace }: TabBarProps) => {
|
||||
<WindowDrag ref={draggerLeftRef} className="left" />
|
||||
{appMenuButton}
|
||||
{devLabel}
|
||||
{isDev ? <WorkspaceSwitcher></WorkspaceSwitcher> : null}
|
||||
{isDev() ? <WorkspaceSwitcher></WorkspaceSwitcher> : null}
|
||||
<div className="tab-bar" ref={tabBarRef} data-overlayscrollbars-initialize>
|
||||
<div className="tabs-wrapper" ref={tabsWrapperRef} style={{ width: `${tabsWrapperWidth}px` }}>
|
||||
{tabIds.map((tabId, index) => {
|
||||
|
Loading…
Reference in New Issue
Block a user