Fixed page breaking when logged out due missing primary stash reference.

This commit is contained in:
DebaucheryLibrarian 2024-08-29 01:57:22 +02:00
parent c5c51a9560
commit 52d9558698
1 changed files with 1 additions and 1 deletions

View File

@ -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;