Fixed page breaking when logged out due missing primary stash reference.
This commit is contained in:
parent
c5c51a9560
commit
52d9558698
|
@ -257,7 +257,7 @@ const pageContext = inject('pageContext');
|
||||||
const theme = ref(pageContext.env.theme);
|
const theme = ref(pageContext.env.theme);
|
||||||
|
|
||||||
const user = pageContext.user;
|
const user = pageContext.user;
|
||||||
const { primaryStash } = pageContext.assets;
|
const primaryStash = pageContext.assets?.primaryStash;
|
||||||
const unseen = ref(pageContext.meta.unseenNotifications);
|
const unseen = ref(pageContext.meta.unseenNotifications);
|
||||||
const query = ref(pageContext.urlParsed.search.q || '');
|
const query = ref(pageContext.urlParsed.search.q || '');
|
||||||
const allowLogin = pageContext.env.allowLogin;
|
const allowLogin = pageContext.env.allowLogin;
|
||||||
|
|
Loading…
Reference in New Issue