Skip to content

Commit

Permalink
Add message when there's no timeslot in admin export list
Browse files Browse the repository at this point in the history
  • Loading branch information
floflo0 committed Nov 12, 2024
1 parent 6f9c511 commit 929beaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/views/AdminPizza/AdminPizzaExportList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ Object.values(timeslotList.value).forEach((timeslot) => {
Liste des exports
</h1>
<div class="mb-6 mt-2 flex flex-col gap-2 px-4">
<div v-if="Object.values(timeslotList).length === 0" class="flex justify-center text-2xl">
Il n'y a pas de créneau de commande.
</div>
<div
v-for="timeslot in timeslotList"
:key="timeslot.id"
Expand Down

0 comments on commit 929beaa

Please sign in to comment.