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() {
|
async function executeQueue() {
|
||||||
if (queue.value.size === 0) return;
|
if (queue.value.size === 0) return;
|
||||||
|
if (isPausingUpdate.value) return;
|
||||||
const queueArr = Array.from(queue.value.entries());
|
const queueArr = Array.from(queue.value.entries());
|
||||||
queue.value = new Map(queueArr.slice(props.pagination.limit));
|
queue.value = new Map(queueArr.slice(props.pagination.limit));
|
||||||
isPausingUpdate.value = true;
|
isPausingUpdate.value = true;
|
||||||
|
|
Loading…
Reference in a new issue