From 53f5fa3988e81215e17e41b7dd92e9ddf897610a Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Tue, 20 May 2025 11:55:08 +0200 Subject: [PATCH] wip --- src/components/tools/DonationCreate.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/tools/DonationCreate.svelte b/src/components/tools/DonationCreate.svelte index 7f2bf380..e8808880 100644 --- a/src/components/tools/DonationCreate.svelte +++ b/src/components/tools/DonationCreate.svelte @@ -69,11 +69,11 @@ function resetAll() { runnerinfo = { id: 0, firstname: "", lastname: "" }; donorinfo = { id: 0, firstname: "", lastname: "" }; - amount = 0; + amount = null; address_checked = false; donor_create_new = false; - selectRefRunner.reset(); - selectRefDonor.reset(); + selectRefRunner?.reset(); + selectRefDonor?.reset(); document.querySelector("#jjqzqicxujrnnh1x3447x18x").focus(); } onMount(() => {