From f5a019a6d6feb8afa9c1cf8185a43c7de3bed976 Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 11 Jul 2023 15:17:52 +0000 Subject: [PATCH] active? --- packages/frontend/src/components/MkPagination.vue | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/packages/frontend/src/components/MkPagination.vue b/packages/frontend/src/components/MkPagination.vue index 52a2c3af37..54a1980c53 100644 --- a/packages/frontend/src/components/MkPagination.vue +++ b/packages/frontend/src/components/MkPagination.vue @@ -136,7 +136,7 @@ const fetching = ref(true); /** * onActivatedでtrue, onDeactivatedでfalseになる */ -const active = ref(false); +const active = ref(true); const moreFetching = ref(false); const more = ref(false); @@ -539,15 +539,8 @@ const updateItem = (id: MisskeyEntity['id'], replacer: (old: MisskeyEntity) => M const inited = init(); -onActivated(() => { - // nothing to do -}); - -onDeactivated(() => { - // nothing to do -}); - onMounted(() => { + active.value = true; inited.then(scrollAfterInit); });