fix: no data wrapping
This commit is contained in:
parent
a8e7182d2b
commit
501a722b28
1 changed files with 2 additions and 8 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue