skip executeQueue if no queue

This commit is contained in:
tamaina 2023-07-14 07:19:43 +00:00
parent 4fabe26b07
commit c7c3c32871

View file

@ -541,6 +541,7 @@ function concatItems(oldItems: MisskeyEntity[]) {
async function executeQueue() {
console.log('executeQueue');
if (queue.value.size === 0) return;
const queueArr = Array.from(queue.value.entries());
queue.value = new Map(queueArr.slice(props.pagination.limit));
isPausingUpdate = true;