Skip to content

Commit

Permalink
reset state when new pipeline is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
Abel Rodriguez committed Sep 21, 2023
1 parent 7bbeccd commit 2b8302d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export const PipelineExecutions = ({
setFilteredExecutions([]);
setStatusCount(new Map<string, number>());
setIsLoading(false);
setIsRequestInProgress(false);
return;
}

Expand All @@ -71,6 +72,7 @@ export const PipelineExecutions = ({
setFilteredExecutions(filterExecutions(resp));
setStatusCount(getStatusCount(resp));
setIsLoading(false);
setIsRequestInProgress(false);
});
}, [pipeline, dateRange.start, dateRange.end]);

Expand Down

0 comments on commit 2b8302d

Please sign in to comment.