More style fixes and remove dead password reset code

This commit is contained in:
Johannes Zellner
2025-03-17 17:49:52 +01:00
parent 66d235a873
commit 8e120bca77
3 changed files with 27 additions and 23 deletions

View File

@@ -153,8 +153,9 @@ onMounted(async () => {
<Dialog ref="newDialog"
:title="$t('profile.createAppPassword.title')"
:confirm-label="addedPassword ? '' : $t('profile.createAppPassword.generatePassword')"
confirm-style="success"
confirm-style="primary"
:reject-label="$t('main.dialog.close')"
reject-style="secondary"
@confirm="onSubmit()"
@close="onReset()"
>
@@ -196,7 +197,7 @@ onMounted(async () => {
<template #creationTime="slotProps">{{ prettyLongDate(slotProps.creationTime) }}</template>
<template #actions="slotProps">
<div class="table-actions">
<Button small outline tool danger @click="onRemove(slotProps.id)" v-tooltip="$t('profile.appPasswords.deletePasswordTooltip')" icon="far fa-trash-alt" />
<Button small tool danger @click="onRemove(slotProps.id)" v-tooltip="$t('profile.appPasswords.deletePasswordTooltip')" icon="far fa-trash-alt" />
</div>
</template>
</TableView>