Improved auth profile UX, consistent transparent-blur dialog background everywhere.

This commit is contained in:
2025-12-04 00:29:42 +00:00
parent 8d02c0f615
commit db892365dc
9 changed files with 126 additions and 56 deletions
+4 -4
View File
@@ -120,15 +120,15 @@ onUnmounted(() => { if (updateInterval.value) clearInterval(updateInterval.value
const addNewCredential = async () => {
try {
authStore.isLoading = true
authStore.showMessage('Adding new passkey...', 'info')
await passkey.register()
await passkey.register(null, null, () => {
authStore.showMessage('Adding new passkey...', 'info')
})
await authStore.loadUserInfo()
authStore.showMessage('New passkey added successfully!', 'success', 3000)
} catch (error) {
console.error('Failed to add new passkey:', error)
authStore.showMessage(error.message, 'error')
} finally { authStore.isLoading = false }
}
}
const handleDelete = async (credential) => {