This commit is contained in:
seb
2026-10-13 01:50:36 +02:00
parent d715b9c4e5
commit 8f68f7d224
2 changed files with 241 additions and 191 deletions

View File

@@ -487,14 +487,11 @@ export class OrderList extends PureComponent {
const startChunk = Math.floor(startIndex / CHUNK_SIZE);
const endChunk = Math.floor(endIndex / CHUNK_SIZE);
orderAutomat.requireChunk(startChunk);
if (endChunk !== startChunk) {
orderAutomat.requireChunk(endChunk);
}
orderAutomat.requireChunk(startChunk, endChunk);
}
handleRetry() {
void orderAutomat.actions.requireChunk(0).catch(() => {});
void orderAutomat.actions.requireChunk(0, 0, { immediate: true }).catch(() => {});
}
handleCreate() {