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