Lower items list batch size for faster rendering.

This commit is contained in:
Mario Zechner 2023-06-18 22:44:33 +02:00
parent f315d03829
commit ae470972b0

View File

@ -420,7 +420,7 @@ class ItemsList extends View {
const batches = []; const batches = [];
let batch = []; let batch = [];
items.forEach((item) => { items.forEach((item) => {
if (batch.length == 100) { if (batch.length == 25) {
batches.push(batch); batches.push(batch);
batch = []; batch = [];
} }