fix layout
This commit is contained in:
parent
15d9f703e3
commit
88e886bf67
|
|
@ -80,7 +80,7 @@ export const Layout: FC<LYTChild> = (props) => {
|
||||||
) {
|
) {
|
||||||
return <>{props.blank_layout}</>;
|
return <>{props.blank_layout}</>;
|
||||||
} else {
|
} else {
|
||||||
if (!w.user) {
|
if (!w.user && !isEditor) {
|
||||||
local.loading = true;
|
local.loading = true;
|
||||||
isMobile
|
isMobile
|
||||||
? loadSession(props.login_url || "/m/auth/login")
|
? loadSession(props.login_url || "/m/auth/login")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue