We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c467236 + ab9d20a commit f745547Copy full SHA for f745547
1 file changed
src/pages/workspace/AccessOrNotFoundWrapper.tsx
@@ -185,7 +185,7 @@ function AccessOrNotFoundWrapper({
185
// This is because the feature state changes several times during the creation of a workspace, while we are waiting for a response from the backend.
186
// Without this, we can be unexpectedly navigated to the More Features page.
187
useEffect(() => {
188
- if (!isFocused || isFeatureEnabled || (pendingField && !isOffline && !isFeatureEnabled) || shouldShowNotFoundPage) {
+ if (!isFocused || isEmptyObject(policy) || isFeatureEnabled || (pendingField && !isOffline && !isFeatureEnabled) || shouldShowNotFoundPage) {
189
return;
190
}
191
0 commit comments