refactor:handle btn close tab
Some checks failed
Spelling / Spell Check with Typos (push) Failing after 27s

This commit is contained in:
Thanaphon Frappet 2025-02-26 09:54:44 +07:00
parent 4d7c4964de
commit c9483465b0

View file

@ -1296,7 +1296,10 @@ async function submitAccepted() {
id="btn-close"
@click="closeTab()"
:label="$t('dialog.action.close')"
v-if="pageState.mode === 'info' && closeAble()"
v-if="
(pageState.mode === 'info' || pageState.mode === 'create') &&
closeAble()
"
/>
<div class="row q-gutter-x-sm q-ml-xs">