You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by so...@apache.org on 2022/06/30 10:32:38 UTC
[dolphinscheduler] branch dev updated: [Fix][UI] Fix bug where the home page displays no data. (#10697)
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 77fea14461 [Fix][UI] Fix bug where the home page displays no data. (#10697)
77fea14461 is described below
commit 77fea1446133447c52ea0bebdbef25246e0d0915
Author: Devosend <de...@gmail.com>
AuthorDate: Thu Jun 30 18:32:32 2022 +0800
[Fix][UI] Fix bug where the home page displays no data. (#10697)
---
dolphinscheduler-ui/src/views/home/index.tsx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dolphinscheduler-ui/src/views/home/index.tsx b/dolphinscheduler-ui/src/views/home/index.tsx
index 145f29b05c..93a27f86a2 100644
--- a/dolphinscheduler-ui/src/views/home/index.tsx
+++ b/dolphinscheduler-ui/src/views/home/index.tsx
@@ -35,8 +35,9 @@ export default defineComponent({
const { getProcessState, processVariables } = useProcessState()
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
}
const handleTaskDate = (val: any) => {