Profile enhancements

This commit is contained in:
2025-10-06 19:00:18 -04:00
parent c7b8735a90
commit 730803a5c1

View File

@@ -185,7 +185,7 @@
</button>
<NuxtLink
to="/"
class="flex-1 px-4 py-2 bg-gray-300 text-gray-700 rounded-md hover:bg-gray-400 text-center"
class="flex-1 px-4 py-2 bg-gray-300 text-gray-700 rounded-md hover:bg-gray-400 text-center flex items-center justify-center"
>
Cancel
</NuxtLink>
@@ -296,8 +296,10 @@ async function handleSubmit() {
confirm: ''
}
// Reload profile data
await loadProfile()
// Redirect to home page after successful save
setTimeout(() => {
navigateTo('/')
}, 1000)
} catch (e: any) {
error.value = e.data?.message || 'Failed to update profile'
} finally {