From 2afde855810f1375ad64a76f5147166b2f72a830 Mon Sep 17 00:00:00 2001 From: moris Date: Tue, 31 Dec 2024 00:16:52 +0900 Subject: [PATCH] =?UTF-8?q?change:=20=E5=9F=8B=E3=82=81=E8=BE=BC=E3=81=BF?= =?UTF-8?q?=E3=81=AE=E8=AA=AD=E3=81=BF=E8=BE=BC=E3=81=BF=E6=95=B0=E3=82=92?= =?UTF-8?q?=E6=B8=9B=E3=82=89=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend-embed/src/components/EmPagination.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend-embed/src/components/EmPagination.vue b/packages/frontend-embed/src/components/EmPagination.vue index 5d5317a912..d34911b2ac 100644 --- a/packages/frontend-embed/src/components/EmPagination.vue +++ b/packages/frontend-embed/src/components/EmPagination.vue @@ -41,7 +41,7 @@ import { onScrollTop, isTopVisible, getBodyScrollHeight, getScrollContainer, onS import { misskeyApi } from '@/misskey-api.js'; import { i18n } from '@/i18n.js'; -const SECOND_FETCH_LIMIT = 30; +const SECOND_FETCH_LIMIT = 10; const TOLERANCE = 16; const APPEAR_MINIMUM_INTERVAL = 600; @@ -198,7 +198,7 @@ async function init(): Promise { const params = props.pagination.params ? isRef(props.pagination.params) ? props.pagination.params.value : props.pagination.params : {}; await misskeyApi(props.pagination.endpoint, { ...params, - limit: props.pagination.limit ?? 10, + limit: props.pagination.limit ?? 5, allowPartial: true, }).then(res => { for (let i = 0; i < res.length; i++) {