diff --git a/src/components/donations/AddDonationModal.svelte b/src/components/donations/AddDonationModal.svelte index 5fc59599..4052b44d 100644 --- a/src/components/donations/AddDonationModal.svelte +++ b/src/components/donations/AddDonationModal.svelte @@ -75,11 +75,7 @@ } else if (type === "anonymous") { let postdata = { amount: amount_cent, - paidAmount: 0, }; - if (is_paid) { - postdata.paidAmount = amount_cent; - } DonationService.donationControllerPostFixed(postdata) .then((result) => { amount_input = 0; @@ -337,7 +333,7 @@ {/if} {/if} - {#if type === "fixed" || type === "anonymous"} + {#if type === "fixed"}