From 02054528f9dc1c14ed86253ab15b27fed543f2b2 Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 17 Jul 2023 10:26:42 +0000 Subject: [PATCH] isPausingUpdate check --- packages/frontend/src/components/MkPagination.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/frontend/src/components/MkPagination.vue b/packages/frontend/src/components/MkPagination.vue index 0bb7b6992..74af1be96 100644 --- a/packages/frontend/src/components/MkPagination.vue +++ b/packages/frontend/src/components/MkPagination.vue @@ -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;