Skip to content

Commit

Permalink
fix: fix count not loading when switching snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdi-BOUYAHIA committed Dec 4, 2024
1 parent b03617a commit 11623c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ const ControlPanel: React.FC<{
const webSocketContext = useContext(WebSocketContext)

useEffect(() => {
if (status && status === CohortJobStatus.NEW) {
if (status && (status === CohortJobStatus.NEW || status === CohortJobStatus.PENDING)) {
setCountLoading(LoadingStatus.FETCHING)
dispatch(countCohortCreation({ uuid: uuid }))
}
Expand Down

0 comments on commit 11623c9

Please sign in to comment.