Viewability upgrade

This commit is contained in:
2026-06-26 01:51:24 -07:00
parent 4c9e503e4f
commit 8030e98d90
2 changed files with 9 additions and 8 deletions
@@ -2,13 +2,6 @@
<div> <div>
<div class="d-flex align-center justify-space-between mb-1"> <div class="d-flex align-center justify-space-between mb-1">
<span class="title">Decks</span> <span class="title">Decks</span>
<v-btn
variant="text"
prepend-icon="mdi-plus"
@click="openCreateDialog(null)"
>
Add Deck
</v-btn>
</div> </div>
<div <div
@@ -48,6 +41,14 @@
</draggable> </draggable>
</template> </template>
<v-btn
class="ml-2"
variant="text"
prepend-icon="mdi-plus"
text="Add Deck"
@click="openCreateDialog(null)"
/>
<v-dialog <v-dialog
v-model="showCreateDialog" v-model="showCreateDialog"
width="400" width="400"
@@ -90,7 +90,7 @@ const emit = defineEmits<{
"add-child": [parentId: number] "add-child": [parentId: number]
}>() }>()
const expanded = ref(true) const expanded = ref(false)
const isSelected = computed(() => props.selectedId === props.deck.id) const isSelected = computed(() => props.selectedId === props.deck.id)
const hasChildren = computed(() => children.value.length > 0) const hasChildren = computed(() => children.value.length > 0)