diff --git a/dashboard/src/components/AppArchive.vue b/dashboard/src/components/AppArchive.vue index 3d6db2744..e6803700b 100644 --- a/dashboard/src/components/AppArchive.vue +++ b/dashboard/src/components/AppArchive.vue @@ -24,7 +24,7 @@ const domainsModel = DomainsModel.create(); const columns = { icon: {}, // archived location: { - label: t('backups.archives.location'), + label: t('app.location.location'), sort: true }, info: { diff --git a/dashboard/src/components/PasswordReset.vue b/dashboard/src/components/PasswordReset.vue index 1d1fafaeb..759ff6bfb 100644 --- a/dashboard/src/components/PasswordReset.vue +++ b/dashboard/src/components/PasswordReset.vue @@ -117,7 +117,6 @@ onMounted(async () => {
{{ $t('passwordReset.title') }}

{{ cloudronName }}

-
diff --git a/dashboard/src/views/ProfileView.vue b/dashboard/src/views/ProfileView.vue index 634263b57..6eb2bd8cc 100644 --- a/dashboard/src/views/ProfileView.vue +++ b/dashboard/src/views/ProfileView.vue @@ -192,7 +192,11 @@ async function onOpenTwoFASetupDialog(modal = false) { async function onTwoFAEnable() { const [error] = await profileModel.enableTwoFA(twoFATotpToken.value); - if (error) return twoFAEnableError.value = error.body ? error.body.message : 'Internal error'; + if (error) { + twoFATotpToken.value = ''; + return twoFAEnableError.value = error.body ? error.body.message : 'Internal error'; + } + await refreshProfile(); twoFADialog.value.close(); @@ -204,7 +208,6 @@ async function onTwoFADisable() { modal: true, placeholder: t('appstore.accountDialog.password'), type: 'password', - confirmStyle: 'danger', confirmLabel: t('main.dialog.yes'), rejectLabel: t('main.dialog.no'), rejectStyle: 'secondary',