mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: space project board pageType change from authenticated to public
This commit is contained in:
parent
243680132e
commit
e148095004
@ -26,7 +26,7 @@ export const AuthWrapper: FC<TAuthWrapper> = observer((props) => {
|
|||||||
revalidateOnFocus: false,
|
revalidateOnFocus: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (isSWRLoading || isLoading)
|
if (isSWRLoading || (isLoading && pageType === EPageTypes.AUTHENTICATED))
|
||||||
return (
|
return (
|
||||||
<div className="relative flex h-screen w-full items-center justify-center">
|
<div className="relative flex h-screen w-full items-center justify-center">
|
||||||
<Spinner />
|
<Spinner />
|
||||||
|
@ -33,7 +33,7 @@ const WorkspaceProjectPage = (props: any) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AuthWrapper pageType={EPageTypes.AUTHENTICATED}>
|
<AuthWrapper pageType={EPageTypes.PUBLIC}>
|
||||||
<ProjectLayout>
|
<ProjectLayout>
|
||||||
<Head>
|
<Head>
|
||||||
<title>{SITE_TITLE}</title>
|
<title>{SITE_TITLE}</title>
|
||||||
|
Loading…
Reference in New Issue
Block a user