fix: create button only show in first tab only
This commit is contained in:
parent
b87e15301f
commit
1bbf521740
1 changed files with 2 additions and 2 deletions
|
|
@ -578,12 +578,12 @@ async function storeDataLocal(id: string) {
|
||||||
class="col surface-2 flex items-center justify-center"
|
class="col surface-2 flex items-center justify-center"
|
||||||
>
|
>
|
||||||
<NoData
|
<NoData
|
||||||
v-if="pageState.inputSearch"
|
v-if="pageState.inputSearch || pageState.currentTab !== 'Issued'"
|
||||||
:not-found="!!pageState.inputSearch"
|
:not-found="!!pageState.inputSearch"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<CreateButton
|
<CreateButton
|
||||||
v-if="!pageState.inputSearch"
|
v-if="!pageState.inputSearch && pageState.currentTab === 'Issued'"
|
||||||
@click="triggerAddQuotationDialog"
|
@click="triggerAddQuotationDialog"
|
||||||
label="general.add"
|
label="general.add"
|
||||||
:i18n-args="{ text: $t('quotation.title') }"
|
:i18n-args="{ text: $t('quotation.title') }"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue