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