This is an automated email from the ASF dual-hosted git repository.
liudongkai 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 48d0e7f389 fix bug where project overview page display no data (#10720)
48d0e7f389 is described below
commit 48d0e7f3899bbf5193af953cb636e2cefb73a3c3
Author: Devosend <[email protected]>
AuthorDate: Fri Jul 1 13:59:06 2022 +0800
fix bug where project overview page display no data (#10720)
---
dolphinscheduler-ui/src/views/projects/overview/index.tsx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dolphinscheduler-ui/src/views/projects/overview/index.tsx
b/dolphinscheduler-ui/src/views/projects/overview/index.tsx
index 22bd6dda5a..f7dee7616f 100644
--- a/dolphinscheduler-ui/src/views/projects/overview/index.tsx
+++ b/dolphinscheduler-ui/src/views/projects/overview/index.tsx
@@ -43,8 +43,9 @@ const workflowMonitor = defineComponent({
}
const initData = () => {
- taskStateRef.value = getTaskState(dateRef.value)
- processStateRef.value = getProcessState(dateRef.value)
+ taskStateRef.value = getTaskState(dateRef.value) || taskStateRef.value
+ processStateRef.value =
+ getProcessState(dateRef.value) || processStateRef.value
}
onMounted(() => {