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 === '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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue