From cfcaf43a940609e95c81bb8f8bf9b9e3f820e11d Mon Sep 17 00:00:00 2001 From: ZackYoung Date: Sun, 4 Feb 2024 09:39:10 +0800 Subject: [PATCH] [BugFix][Web] Fix web page show (#3138) Co-authored-by: zackyoungh --- .../src/main/java/org/dinky/trans/dml/ExecuteJarOperation.java | 1 + dinky-web/src/components/Sidebar/MovableSidebar/index.tsx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dinky-client/dinky-client-base/src/main/java/org/dinky/trans/dml/ExecuteJarOperation.java b/dinky-client/dinky-client-base/src/main/java/org/dinky/trans/dml/ExecuteJarOperation.java index 2815d71b52..255583da41 100644 --- a/dinky-client/dinky-client-base/src/main/java/org/dinky/trans/dml/ExecuteJarOperation.java +++ b/dinky-client/dinky-client-base/src/main/java/org/dinky/trans/dml/ExecuteJarOperation.java @@ -92,6 +92,7 @@ public static StreamGraph getStreamGraph(JarSubmitParam submitParam, CustomTable .setArguments(RunTimeUtil.handleCmds(submitParam.getArgs())) .build(); Pipeline pipeline = PackagedProgramUtils.getPipelineFromProgram(program, configuration, 1, true); + program.close(); Assert.isTrue(pipeline instanceof StreamGraph, "can not translate"); return (StreamGraph) pipeline; } catch (Exception e) { diff --git a/dinky-web/src/components/Sidebar/MovableSidebar/index.tsx b/dinky-web/src/components/Sidebar/MovableSidebar/index.tsx index 7bdf20c02e..6b5c468a9b 100644 --- a/dinky-web/src/components/Sidebar/MovableSidebar/index.tsx +++ b/dinky-web/src/components/Sidebar/MovableSidebar/index.tsx @@ -77,7 +77,8 @@ const MovableSidebar: React.FC = (props) => { style={{ ...style, display: visible ? 'block' : 'none', - borderRadius: 5 + borderRadius: 5, + backgroundColor: token.colorBgBase }} onResize={onResize} onResizeStop={onResizeStop}