Release 0.11.0 #195

Merged
niggl merged 22 commits from dev into main 2021-04-14 17:04:31 +00:00
Showing only changes of commit 49b174f29f - Show all commits

View File

@ -55,7 +55,7 @@ export class ResponseDonation implements IResponse {
this.id = donation.id;
this.donor = donation.donor.toResponse();
this.amount = donation.amount;
this.payedAmount = donation.payedAmount;
this.payedAmount = donation.payedAmount || 0;
if (this.payedAmount < this.amount) {
this.status = DonationStatus.OPEN;
}