Allways set loaded to true

ref #175
This commit is contained in:
2023-04-18 20:47:42 +02:00
parent ccf865687b
commit 52439aa5bc
4 changed files with 4 additions and 13 deletions

View File

@@ -182,7 +182,6 @@
const scans = await ScanService.scanControllerGetAll(page, 500);
if (scans.length == 0) {
page = -2;
dataLoaded = true;
}
current_scans = current_scans.concat(...scans);
@@ -191,9 +190,7 @@
data: current_scans,
}));
if (page == 0) {
dataLoaded = true;
}
dataLoaded = true;
page++;
}
console.log("All scans loaded");