Skip to content

Commit 1bf1f11

Browse files
fix(GetOrganizations): check on quartzIdentityStatus before calling getQuartzIdentityThunk (#5291)
1 parent ffdf3e5 commit 1bf1f11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/shared/containers/GetOrganizations.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ const GetOrganizations: FunctionComponent = () => {
7676
useEffect(() => {
7777
if (
7878
isFlagEnabled('uiUnificationFlag') &&
79-
quartzMeStatus === RemoteDataState.NotStarted
79+
quartzMeStatus === RemoteDataState.NotStarted &&
80+
quartzIdentityStatus === RemoteDataState.NotStarted
8081
) {
8182
dispatch(getQuartzIdentityThunk())
8283
}

0 commit comments

Comments
 (0)