This is an automated email from the ASF dual-hosted git repository.
songjian pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 52826194a6 [Fix][UI Next][V1.0.0-Beta] Fix bug where logo disappeared
when format dag. (#9864)
52826194a6 is described below
commit 52826194a68c75a7a0f0d85062cef067f71d4b38
Author: Devosend <[email protected]>
AuthorDate: Thu May 5 10:13:56 2022 +0800
[Fix][UI Next][V1.0.0-Beta] Fix bug where logo disappeared when format dag.
(#9864)
---
.../src/views/projects/workflow/components/dag/index.tsx | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git
a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/index.tsx
b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/index.tsx
index 7bf4e55451..b634c0bb08 100644
---
a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/index.tsx
+++
b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/index.tsx
@@ -274,6 +274,15 @@ export default defineComponent({
nodeVariables.showModalRef = false
}
+ const layoutSubmit = () => {
+ submit()
+
+ // Refresh task status in workflow instance
+ if (props.instance) {
+ refreshTaskStatus()
+ }
+ }
+
watch(
() => props.definition,
() => {
@@ -321,7 +330,7 @@ export default defineComponent({
</div>
<DagAutoLayoutModal
visible={layoutVisible.value}
- submit={submit}
+ submit={layoutSubmit}
cancel={cancel}
formValue={formValue}
formRef={formRef}