Use consistent style to only disable dialog close button if dialog submission is busy
This commit is contained in:
@@ -213,7 +213,8 @@ onMounted(async () => {
|
||||
:confirm-busy="removeBusy"
|
||||
:confirm-active="!removeBusy"
|
||||
confirm-style="danger"
|
||||
:reject-label="removeBusy ? '' : $t('main.dialog.cancel')"
|
||||
:reject-label="$t('main.dialog.cancel')"
|
||||
:reject-active="!removeBusy"
|
||||
reject-style="secondary"
|
||||
@confirm="onSubmitRemove()"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user