parent
bdcf5d3fc0
commit
04a3038369
@ -32,7 +32,8 @@
|
||||
(original_data.responseType == "DISTANCEDONATION" &&
|
||||
!(Math.floor(amount_input * 100) === original_data.amountPerDistance)) ||
|
||||
(original_data.responseType !== "DISTANCEDONATION" &&
|
||||
!(Math.floor(amount_input * 100) === original_data.amount));
|
||||
!(Math.floor(amount_input * 100) === original_data.amount)) ||
|
||||
!(Math.floor(paid_amount_input * 100) === original_data.paidAmount);
|
||||
$: save_enabled = changes_performed && is_amount_valid && is_everything_set;
|
||||
|
||||
const promise = DonationService.donationControllerGetOne(
|
||||
|
Loading…
x
Reference in New Issue
Block a user