mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 05:43:07 +02:00
skip executeQueue if no queue
This commit is contained in:
parent
4fabe26b07
commit
c7c3c32871
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue