Fixed tiles breaking if user is not logged in.

This commit is contained in:
2024-03-27 03:15:37 +01:00
parent ad635d4192
commit b5b3ad57bf
4 changed files with 7 additions and 7 deletions

View File

@@ -71,7 +71,7 @@ const props = defineProps({
const emit = defineEmits(['stashed', 'unstashed']);
const { user, pageProps } = inject('pageContext');
const currentStash = pageProps.stash || user.primaryStash;
const currentStash = pageProps.stash || user?.primaryStash;
const itemStashes = ref(props.item.stashes);