Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
fix: restore location section (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
hay-kot authored Oct 15, 2023
1 parent ae4b953 commit 0995478
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions frontend/pages/location/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,13 @@
<section v-if="location && items">
<ItemViewSelectable :items="items" />
</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>
</div>
</template>

0 comments on commit 0995478

Please sign in to comment.