fix: update cancel button visibility logic in credit note form
This commit is contained in:
parent
dc225ac31b
commit
3732aa9bf5
1 changed files with 1 additions and 4 deletions
|
|
@ -848,10 +848,7 @@ onMounted(async () => {
|
||||||
|
|
||||||
<UndoButton v-if="pageState.mode === 'edit'" outlined @click="undo()" />
|
<UndoButton v-if="pageState.mode === 'edit'" outlined @click="undo()" />
|
||||||
<CancelButton
|
<CancelButton
|
||||||
v-if="
|
v-if="pageState.mode !== 'edit'"
|
||||||
pageState.mode === 'info' &&
|
|
||||||
creditNoteData?.creditNoteStatus === CreditNoteStatus.Waiting
|
|
||||||
"
|
|
||||||
@click="closeTab()"
|
@click="closeTab()"
|
||||||
:label="$t('dialog.action.close')"
|
:label="$t('dialog.action.close')"
|
||||||
outlined
|
outlined
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue