wip(freight): migration 0017 + model/column-list groundwork for add-freight-templates
This commit is contained in:
@@ -33,9 +33,11 @@ onMounted(() => void load());
|
||||
|
||||
<template>
|
||||
<VCard class="min-h-[560px]">
|
||||
<h1 class="mb-4 text-xl font-bold text-text">{{ t("user.couponsTitle") }}</h1>
|
||||
<p v-if="error" class="mb-4 border border-danger/30 bg-danger/10 px-3.5 py-2.5 text-danger">{{ error }}</p>
|
||||
<div v-else-if="loading" class="py-10 text-muted">{{ t("common.loading") }}</div>
|
||||
<h1 class="text-text mb-4 text-xl font-bold">{{ t("user.couponsTitle") }}</h1>
|
||||
<p v-if="error" class="border-danger/30 bg-danger/10 text-danger mb-4 border px-3.5 py-2.5">
|
||||
{{ error }}
|
||||
</p>
|
||||
<div v-else-if="loading" class="text-muted py-10">{{ t("common.loading") }}</div>
|
||||
<UiEmptyState v-else-if="coupons.length === 0" :text="t('user.noCoupons')" />
|
||||
<VTable v-else>
|
||||
<thead>
|
||||
@@ -59,4 +61,3 @@ onMounted(() => void load());
|
||||
</VTable>
|
||||
</VCard>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user