Bugfix database creation

This commit is contained in:
2024-11-12 05:09:54 +01:00
parent b97cc1af20
commit e690fb984d
6 changed files with 30 additions and 20 deletions

View File

@@ -21,13 +21,21 @@ defineProps({
:title="title"
:icon="icon"
>
<div class="text-h4 text-center">
<v-skeleton-loader
type="heading"
:loading="loading"
class="text-h4 d-flex justify-center"
>
{{ firstLine }}
</div>
</v-skeleton-loader>
<div class="text-h6 text-center text-disabled">
<v-skeleton-loader
type="text"
:loading="loading"
class="text-h6 text-disabled d-flex justify-center"
>
{{ secondLine }}
</div>
</v-skeleton-loader>
<template #actions>
<outlined-button

View File

@@ -110,7 +110,9 @@ orderStore.getAllOrders()
:title="$t('order.order', 2)"
icon="mdi-basket"
:first-line="orderStore.orders.length + ' ' + $t('order.order', 2)"
second-line="todo"
:second-line="orderStore.orders.reduce((counter, obj) => {
return !obj.shipped ? counter += 1 : counter
}, 0) + ' ' + $t('order.notShipped')"
button-route="/admin/orders"
:loading="orderStore.fetchInProgress"
/>