isPausingUpdate check
This commit is contained in:
parent
31b62db14b
commit
02054528f9
1 changed files with 1 additions and 0 deletions
|
@ -551,6 +551,7 @@ function concatItems(oldItems: MisskeyEntity[]) {
|
|||
|
||||
async function executeQueue() {
|
||||
if (queue.value.size === 0) return;
|
||||
if (isPausingUpdate.value) return;
|
||||
const queueArr = Array.from(queue.value.entries());
|
||||
queue.value = new Map(queueArr.slice(props.pagination.limit));
|
||||
isPausingUpdate.value = true;
|
||||
|
|
Loading…
Reference in a new issue