mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-24 01:08:27 +00:00
call isDev() function to properly hide workspace switcher in prod (#1154)
This commit is contained in:
parent
2f5837b0f6
commit
d0d9095c92
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue