You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2022/07/25 13:49:26 UTC

[incubator-devlake] branch main updated: fix: enable auto-refresh for created status (#2595)

This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new ac1977fd fix: enable auto-refresh for created status (#2595)
ac1977fd is described below

commit ac1977fdecd63ccb0c26746eeb5d87b396ad7ce7
Author: Julien Chinapen <ju...@merico.dev>
AuthorDate: Mon Jul 25 09:49:21 2022 -0400

    fix: enable auto-refresh for created status (#2595)
---
 config-ui/src/pages/blueprints/blueprint-detail.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config-ui/src/pages/blueprints/blueprint-detail.jsx b/config-ui/src/pages/blueprints/blueprint-detail.jsx
index fcfb1b1a..f15ce1ae 100644
--- a/config-ui/src/pages/blueprints/blueprint-detail.jsx
+++ b/config-ui/src/pages/blueprints/blueprint-detail.jsx
@@ -711,7 +711,7 @@ const BlueprintDetail = (props) => {
   useEffect(() => {
     if (activePipeline?.id && activePipeline?.id !== null) {
       setCurrentStages(buildPipelineStages(activePipeline.tasks))
-      setAutoRefresh(activePipeline?.status === TaskStatus.RUNNING)
+      setAutoRefresh([TaskStatus.RUNNING, TaskStatus.CREATED].includes(activePipeline?.status))
     }
   }, [activePipeline, buildPipelineStages])