Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
33166bfafc | |||
b2648645e8 |
@ -2,8 +2,15 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
|
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
|
||||||
|
|
||||||
|
#### [1.4.3](https://git.odit.services/lfk/frontend/compare/1.4.2...1.4.3)
|
||||||
|
|
||||||
|
- revert: buggy pagination [`b264864`](https://git.odit.services/lfk/frontend/commit/b2648645e8fc05f8742ecfc592557f954261671b)
|
||||||
|
|
||||||
#### [1.4.2](https://git.odit.services/lfk/frontend/compare/1.4.1...1.4.2)
|
#### [1.4.2](https://git.odit.services/lfk/frontend/compare/1.4.1...1.4.2)
|
||||||
|
|
||||||
|
> 4 May 2023
|
||||||
|
|
||||||
|
- 🚀RELEASE v1.4.2 [`53e3ddb`](https://git.odit.services/lfk/frontend/commit/53e3ddb751c1150a4640ae6302e4df5b88cedc51)
|
||||||
- fix(GenerateRunnerCertificates): missing toast import [`d49f545`](https://git.odit.services/lfk/frontend/commit/d49f545d94acabc0c96860f212466b7a4cbe7dab)
|
- fix(GenerateRunnerCertificates): missing toast import [`d49f545`](https://git.odit.services/lfk/frontend/commit/d49f545d94acabc0c96860f212466b7a4cbe7dab)
|
||||||
- fix(DonorDetail): missing toast import [`edc2dca`](https://git.odit.services/lfk/frontend/commit/edc2dcab92c3cace05335a283a849c3c978ec8ec)
|
- fix(DonorDetail): missing toast import [`edc2dca`](https://git.odit.services/lfk/frontend/commit/edc2dcab92c3cace05335a283a849c3c978ec8ec)
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
<span style="display: none; visibility: hidden" id="buildinfo"
|
<span style="display: none; visibility: hidden" id="buildinfo"
|
||||||
>RELEASE_INFO-1.4.2-RELEASE_INFO</span
|
>RELEASE_INFO-1.4.3-RELEASE_INFO</span
|
||||||
>
|
>
|
||||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||||
<script src="/env.js"></script>
|
<script src="/env.js"></script>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@odit/lfk-frontend",
|
"name": "@odit/lfk-frontend",
|
||||||
"version": "1.4.2",
|
"version": "1.4.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"i18n-order": "node order.js",
|
"i18n-order": "node order.js",
|
||||||
|
@ -167,27 +167,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
let page = 0;
|
const donations = await DonationService.donationControllerGetAll();
|
||||||
let pagesize = 100;
|
current_donations = donations;
|
||||||
while (page >= 0) {
|
options.update((options) => ({
|
||||||
const donations = await DonationService.donationControllerGetAll(
|
...options,
|
||||||
page,
|
data: current_donations,
|
||||||
pagesize
|
}));
|
||||||
);
|
dataLoaded = true;
|
||||||
if (donations.length == 0) {
|
|
||||||
page = -2;
|
|
||||||
}
|
|
||||||
|
|
||||||
current_donations = current_donations.concat(...donations);
|
|
||||||
options.update((options) => ({
|
|
||||||
...options,
|
|
||||||
data: current_donations,
|
|
||||||
}));
|
|
||||||
|
|
||||||
dataLoaded = true;
|
|
||||||
page++;
|
|
||||||
pagesize += 100;
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -146,24 +146,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
let page = 0;
|
const donors = await DonorService.donorControllerGetAll();
|
||||||
let pagesize = 100;
|
current_donors = donors;
|
||||||
while (page >= 0) {
|
options.update((options) => ({
|
||||||
const donors = await DonorService.donorControllerGetAll(page, pagesize);
|
...options,
|
||||||
if (donors.length == 0) {
|
data: donors,
|
||||||
page = -2;
|
}));
|
||||||
}
|
dataLoaded = true;
|
||||||
|
|
||||||
current_donors = current_donors.concat(...donors);
|
|
||||||
options.update((options) => ({
|
|
||||||
...options,
|
|
||||||
data: current_donors,
|
|
||||||
}));
|
|
||||||
|
|
||||||
dataLoaded = true;
|
|
||||||
page++;
|
|
||||||
pagesize += 100;
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -161,22 +161,13 @@
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
let page = 0;
|
const runners = await RunnerService.runnerControllerGetAll();
|
||||||
while (page >= 0) {
|
current_runners = runners;
|
||||||
const runners = await RunnerService.runnerControllerGetAll(page, 500);
|
options.update((options) => ({
|
||||||
if (runners.length == 0) {
|
...options,
|
||||||
page = -2;
|
data: current_runners,
|
||||||
}
|
}));
|
||||||
|
dataLoaded = true;
|
||||||
current_runners = current_runners.concat(...runners);
|
|
||||||
options.update((options) => ({
|
|
||||||
...options,
|
|
||||||
data: current_runners,
|
|
||||||
}));
|
|
||||||
|
|
||||||
dataLoaded = true;
|
|
||||||
page++;
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -178,26 +178,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
let page = 0;
|
const scans = await ScanService.scanControllerGetAll();
|
||||||
let pagesize = 100;
|
current_scans = scans;
|
||||||
while (page >= 0) {
|
options.update((options) => ({
|
||||||
const scans = await ScanService.scanControllerGetAll(page, pagesize);
|
...options,
|
||||||
if (scans.length == 0) {
|
data: current_scans,
|
||||||
page = -2;
|
}));
|
||||||
}
|
dataLoaded = true;
|
||||||
|
|
||||||
current_scans = current_scans.concat(...scans);
|
|
||||||
options.update((options) => ({
|
|
||||||
...options,
|
|
||||||
data: current_scans,
|
|
||||||
}));
|
|
||||||
|
|
||||||
dataLoaded = true;
|
|
||||||
page++;
|
|
||||||
if (pagesize < 1000) {
|
|
||||||
pagesize += 100;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user