mirror of
https://github.com/hay-kot/homebox.git
synced 2025-07-27 04:40:27 +00:00
feat: implement selectable view + sortable table (#264)
This commit is contained in:
parent
f36f17b57d
commit
bd933af874
5 changed files with 68 additions and 72 deletions
|
@ -518,11 +518,8 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<section v-if="!hasNested" class="my-6">
|
||||
<BaseSectionHeader v-if="item && item.children && item.children.length > 0"> Child Items </BaseSectionHeader>
|
||||
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
||||
<ItemCard v-for="child in item.children" :key="child.id" :item="child" />
|
||||
</div>
|
||||
<section v-if="!hasNested && item.children.length > 0" class="my-6">
|
||||
<ItemViewSelectable :items="item.children" />
|
||||
</section>
|
||||
</BaseContainer>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue