From bae59b8730700b202a14033472a276c38f00fd12 Mon Sep 17 00:00:00 2001 From: Bradley Shellnut Date: Wed, 20 Sep 2023 13:05:35 +1200 Subject: [PATCH] Add alert to profile if no email exists warning about password reset. --- .../(app)/(protected)/profile/+page.svelte | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/src/routes/(app)/(protected)/profile/+page.svelte b/src/routes/(app)/(protected)/profile/+page.svelte index 6db738a..c86e693 100644 --- a/src/routes/(app)/(protected)/profile/+page.svelte +++ b/src/routes/(app)/(protected)/profile/+page.svelte @@ -6,6 +6,7 @@ import { Label } from '$components/ui/label'; import { Input } from '$components/ui/input'; import { Button } from '$components/ui/button'; + import * as Alert from "$lib/components/ui/alert"; export let data; const profileSchema = userSchema.pick({ @@ -24,7 +25,7 @@
-

Profile

+

Your Profile


{#if $message}