diff --git a/src/components/CreationCohort/ControlPanel/ControlPanel.tsx b/src/components/CreationCohort/ControlPanel/ControlPanel.tsx index fdee61d02..316369003 100644 --- a/src/components/CreationCohort/ControlPanel/ControlPanel.tsx +++ b/src/components/CreationCohort/ControlPanel/ControlPanel.tsx @@ -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 })) }