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
@@ -150,7 +150,8 @@ async function onSubmit() {
:title="$t('email.outbound.title')"
:confirm-label="$t('main.dialog.save')"
:confirm-busy="busy"
:reject-label="busy ? '' : $t('main.dialog.cancel')"
:reject-label="$t('main.dialog.cancel')"
:reject-active="!busy"
reject-style="secondary"
@confirm="onSubmit()"
>