mirror of
https://github.com/apache/superset.git
synced 2026-04-23 18:14:56 +00:00
refactor(sqllab): Separate left panel outside of tab container (#36360)
This commit is contained in:
@@ -165,24 +165,6 @@ const SqlEditorTabHeader: FC<Props> = ({ queryEditor }) => {
|
||||
</>
|
||||
),
|
||||
} as MenuItemType,
|
||||
{
|
||||
key: '3',
|
||||
onClick: () => actions.toggleLeftBar(qe),
|
||||
'data-test': 'toggle-menu-option',
|
||||
label: (
|
||||
<>
|
||||
<IconContainer>
|
||||
<Icons.VerticalAlignBottomOutlined
|
||||
iconSize="l"
|
||||
css={css`
|
||||
rotate: ${qe.hideLeftBar ? '-90deg;' : '90deg;'};
|
||||
`}
|
||||
/>
|
||||
</IconContainer>
|
||||
{qe.hideLeftBar ? t('Expand tool bar') : t('Hide tool bar')}
|
||||
</>
|
||||
),
|
||||
} as MenuItemType,
|
||||
{
|
||||
key: '4',
|
||||
onClick: () => actions.removeAllOtherQueryEditors(qe),
|
||||
|
||||
Reference in New Issue
Block a user