refactor: remove redundant cancel button from password change form

The "Annuleren" button served no purpose — there's no prior state to
revert to in a password change form. The fields are already empty on
load and the type="reset" just cleared them to the same empty state.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-15 22:53:22 +02:00
parent 0cdee1382e
commit 554ed68e8b

View File

@@ -242,21 +242,13 @@ function copyRegeneratedCodes() {
</VList> </VList>
</VCardText> </VCardText>
<VCardText class="d-flex flex-wrap gap-4"> <VCardText>
<VBtn <VBtn
type="submit" type="submit"
:loading="changePasswordMutation.isPending.value" :loading="changePasswordMutation.isPending.value"
> >
Wachtwoord wijzigen Wachtwoord wijzigen
</VBtn> </VBtn>
<VBtn
color="secondary"
variant="tonal"
type="reset"
@click="passwordForm = { current_password: '', password: '', password_confirmation: '' }; passwordSuccess = ''"
>
Annuleren
</VBtn>
</VCardText> </VCardText>
</VForm> </VForm>
</VCard> </VCard>