Compare commits

...

3 Commits

Author SHA1 Message Date
776973bfe9
🚀RELEASE v1.4.9
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-09 16:32:00 +02:00
6025e43baa
Fixed empty return 2023-05-09 16:29:41 +02:00
d9a47f882c
Changed the in table replacement method 2023-05-09 16:29:25 +02:00
5 changed files with 18 additions and 7 deletions

View File

@ -2,9 +2,17 @@
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
#### [1.4.9](https://git.odit.services/lfk/frontend/compare/1.4.8...1.4.9)
- Changed the in table replacement method [`d9a47f8`](https://git.odit.services/lfk/frontend/commit/d9a47f882c1c6bcf98ef85d50d70c010d54b326e)
- Fixed empty return [`6025e43`](https://git.odit.services/lfk/frontend/commit/6025e43baa8516657a60a1de9a82c2189221c6ac)
#### [1.4.8](https://git.odit.services/lfk/frontend/compare/1.4.7...1.4.8)
> 9 May 2023
- Switched donor loading to non-paginated [`59fe2df`](https://git.odit.services/lfk/frontend/commit/59fe2dfabb224863876c4db31a965c34a51a9369)
- 🚀RELEASE v1.4.8 [`4235758`](https://git.odit.services/lfk/frontend/commit/4235758a6d1499715287d6ab193cc87c68d5742e)
#### [1.4.7](https://git.odit.services/lfk/frontend/compare/1.4.6...1.4.7)

View File

@ -13,7 +13,7 @@
<body>
<span style="display: none; visibility: hidden" id="buildinfo"
>RELEASE_INFO-1.4.8-RELEASE_INFO</span
>RELEASE_INFO-1.4.9-RELEASE_INFO</span
>
<noscript>You need to enable JavaScript to run this app.</noscript>
<script src="/env.js"></script>

View File

@ -1,6 +1,6 @@
{
"name": "@odit/lfk-frontend",
"version": "1.4.8",
"version": "1.4.9",
"type": "module",
"scripts": {
"i18n-order": "node order.js",

View File

@ -46,7 +46,7 @@
toast.dismiss();
toast.success($_("donation-updated"));
dispatch("created", { donation: response });
dispatch("created", { donation: result });
})
.catch((err) => {
//
@ -61,7 +61,7 @@
//
toast.dismiss();
toast.success($_("donation-updated"));
dispatch("created", { donation: response });
dispatch("created", { donation: result });
})
.catch((err) => {
//

View File

@ -195,9 +195,12 @@
payment_modal_open={active_edits.length > 0}
paid_amount_input={(active_edits[0]?.paidAmount || 0) / 100}
on:created={(event) => {
current_donations[
current_donations.findIndex((d) => d.id === event.detail.donation.id)
].paidAmount = event.detail.donation.paidAmount;
current_donations = current_donations.map((d)=>{
if(d.id === event.detail.donation.id){
d.paidAmount = event.detail.donation.paidAmount;
}
return d;
})
options.update((options) => ({
...options,
data: current_donations,