mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-22 08:35:43 +00:00
fix: restore location section (#587)
This commit is contained in:
parent
ae4b95301f
commit
0995478cc0
1 changed files with 7 additions and 0 deletions
|
@ -166,6 +166,13 @@
|
||||||
<section v-if="location && items">
|
<section v-if="location && items">
|
||||||
<ItemViewSelectable :items="items" />
|
<ItemViewSelectable :items="items" />
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section v-if="location && location.children.length > 0" class="mt-6">
|
||||||
|
<BaseSectionHeader class="mb-5"> Child Locations </BaseSectionHeader>
|
||||||
|
<div class="grid gap-2 grid-cols-1 sm:grid-cols-3">
|
||||||
|
<LocationCard v-for="item in location.children" :key="item.id" :location="item" />
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
</BaseContainer>
|
</BaseContainer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in a new issue