mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 14:13:08 +02:00
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