Skip to content

Commit

Permalink
Update src/pages/workspace/withPolicyConnections.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Abdelhafidh Belalia <[email protected]>
  • Loading branch information
narefyev91 and s77rt authored May 14, 2024
1 parent 9e84439 commit b6dbb99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/withPolicyConnections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function withPolicyConnections<TProps extends WithPolicyConnectionsProps>(Wrappe
openPolicyAccountingPage(props.policy.id);
}, [props.policy?.id, isConnectionDataFetchNeeded]);

if (props.policy?.areConnectionsEnabled && isConnectionDataFetchNeeded && shouldBlockView) {
if (isConnectionDataFetchNeeded && shouldBlockView) {
return <FullScreenLoadingIndicator />;
}

Expand Down

0 comments on commit b6dbb99

Please sign in to comment.