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}</>;
|
||||
} else {
|
||||
if (!w.user) {
|
||||
if (!w.user && !isEditor) {
|
||||
local.loading = true;
|
||||
isMobile
|
||||
? loadSession(props.login_url || "/m/auth/login")
|
||||
|
|
|
|||
Loading…
Reference in New Issue