fix: no data wrapping

This commit is contained in:
Methapon2001 2024-07-09 11:32:23 +07:00
parent a8e7182d2b
commit 501a722b28

View file

@ -1693,18 +1693,12 @@ watch(inputSearchProductAndService, async () => {
(productAndServiceTab === 'product' && product?.length === 0) ||
(productAndServiceTab === 'service' && service?.length === 0)
"
class="flex justify-center items-center"
style="min-height: 70vh; background-color: var(--surface-2)"
class="flex justify-center items-center surface-1 col"
>
<NoData :not-found="!!inputSearchProductAndService" />
</div>
<!-- tab -->
<div
v-if="productAndService && productAndService.length > 0"
class="row flex col"
>
<div v-else class="row flex col">
<q-tabs
dense
v-model="productAndServiceTab"