Skip to content

Commit

Permalink
[BugFix][Web]Close the data development page, floating button (DataLi…
Browse files Browse the repository at this point in the history
  • Loading branch information
zackyoungh authored Nov 21, 2024
1 parent 16add5f commit 03c351f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions dinky-web/src/pages/DataStudio/ContentLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ const centerPanelExtraButtons = (panelData: PanelData, context: DockContext) =>
const buttons = [];

if (panelData.parent?.mode !== 'window' && panelData.parent?.mode !== 'float') {
buttons.push(
<SelectOutlined
rotate={90}
className='my-panel-extra-btn'
key='float'
title={l('global.float')}
onClick={() => context.dockMove(panelData, null, 'float')}
/>
);
// buttons.push(
// <SelectOutlined
// rotate={90}
// className='my-panel-extra-btn'
// key='float'
// title={l('global.float')}
// onClick={() => context.dockMove(panelData, null, 'float')}
// />
// );
const MaximizeIcon = panelData.parent?.mode === 'maximize' ? SwitcherOutlined : BorderOutlined;
buttons.push(
<MaximizeIcon
Expand Down

0 comments on commit 03c351f

Please sign in to comment.