ui: rework location/labels pages (#475)

* formatting

* slimdown locations page

* update location/labels

* fix dependency issues

* fix type generator

* cleanup unused variables
This commit is contained in:
Hayden 2023-07-27 13:21:28 -08:00 committed by GitHub
parent 06eb6c1f91
commit 016780920d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 137 additions and 267 deletions

View file

@ -25,9 +25,8 @@
<template>
<section>
<BaseSectionHeader class="mb-5 flex justify-between items-center">
<BaseSectionHeader class="mb-2 flex justify-between items-center">
Items
<template #description>
<div v-if="!viewSet" class="dropdown dropdown-hover dropdown-left">
<label tabindex="0" class="btn btn-ghost m-1">
@ -57,6 +56,7 @@
<template v-else>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4">
<ItemCard v-for="item in items" :key="item.id" :item="item" />
<div class="first:block hidden text-lg">No Items to Display</div>
</div>
</template>
</section>