Use consistent style to only disable dialog close button if dialog submission is busy

This commit is contained in:
Johannes Zellner
2025-10-08 16:49:05 +02:00
parent 2c5fd7effa
commit 933d5c9139
11 changed files with 26 additions and 13 deletions
+2 -1
View File
@@ -95,7 +95,8 @@ defineExpose({
:title="$t('domains.domainWellKnown.title', { domain })"
:confirm-busy="busy"
:confirm-label="$t('main.dialog.save')"
:reject-label="busy ? null : $t('main.dialog.cancel')"
:reject-label="$t('main.dialog.cancel')"
:reject-active="!busy"
reject-style="secondary"
@confirm="onSubmit()"
>