From 03c351f79de457af388bd505bc8d5ad3a282996a Mon Sep 17 00:00:00 2001 From: ZackYoung Date: Thu, 21 Nov 2024 15:43:56 +0800 Subject: [PATCH] [BugFix][Web]Close the data development page, floating button (#3934) --- .../src/pages/DataStudio/ContentLayout.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dinky-web/src/pages/DataStudio/ContentLayout.tsx b/dinky-web/src/pages/DataStudio/ContentLayout.tsx index 8da912919c..66858aed8f 100644 --- a/dinky-web/src/pages/DataStudio/ContentLayout.tsx +++ b/dinky-web/src/pages/DataStudio/ContentLayout.tsx @@ -94,15 +94,15 @@ const centerPanelExtraButtons = (panelData: PanelData, context: DockContext) => const buttons = []; if (panelData.parent?.mode !== 'window' && panelData.parent?.mode !== 'float') { - buttons.push( - context.dockMove(panelData, null, 'float')} - /> - ); + // buttons.push( + // context.dockMove(panelData, null, 'float')} + // /> + // ); const MaximizeIcon = panelData.parent?.mode === 'maximize' ? SwitcherOutlined : BorderOutlined; buttons.push(