fix(donations): Remove paid from anon donations
This commit is contained in:
		| @@ -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} | ||||
| 									</div> | ||||
| 								{/if} | ||||
| 								{#if type === "fixed" || type === "anonymous"} | ||||
| 								{#if type === "fixed"} | ||||
| 									<div class="flex"> | ||||
| 										<input | ||||
| 											bind:checked={is_paid} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user