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()" />
|
||||
<CancelButton
|
||||
v-if="
|
||||
pageState.mode === 'info' &&
|
||||
creditNoteData?.creditNoteStatus === CreditNoteStatus.Waiting
|
||||
"
|
||||
v-if="pageState.mode !== 'edit'"
|
||||
@click="closeTab()"
|
||||
:label="$t('dialog.action.close')"
|
||||
outlined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue