Fixed tiles breaking if user is not logged in.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user