We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 841e1e9 commit 623559eCopy full SHA for 623559e
src/nextapp/shared/services/auth/auth-context.tsx
@@ -36,7 +36,7 @@ export const AuthProvider: React.FC<AuthProviderProps> = ({ children }) => {
36
37
const identityParam = providerPage ? 'identity=provider&' : '';
38
39
- if (session.status == 'loading' || session.isFetching) {
+ if (session.status == 'loading') {
40
return <></>;
41
}
42
@@ -49,7 +49,7 @@ export const AuthProvider: React.FC<AuthProviderProps> = ({ children }) => {
49
requiresNamespace &&
50
!session.user.namespace;
51
52
- if (noNamespace) {
+ if (noNamespace && session.isFetching == false) {
53
router?.push('/manager/gateways/list').then(() => {
54
toast({
55
title: `First select a Gateway to view that page`,
0 commit comments