Added elaborate template switching.

This commit is contained in:
2024-08-26 06:15:22 +02:00
parent fa991c0294
commit 80d8a8109a
29 changed files with 617 additions and 180 deletions

View File

@@ -1,7 +1,7 @@
<template>
<ul class="stash-menu nolist noselect">
<li
v-for="userStash in user.stashes"
v-for="userStash in stashes"
:key="`stash-${userStash.id}`"
class="menu-item"
>
@@ -30,9 +30,9 @@
import Checkbox from '#/components/form/checkbox.vue';
defineProps({
user: {
type: Object,
default: null,
stashes: {
type: Array,
default: () => [],
},
itemStashes: {
type: Array,