From da704f341d703034297ecf860a8b5633e33aff54 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Thu, 19 Jan 2023 16:24:53 -0800 Subject: [PATCH] Revert "wip" This reverts commit 5a2990a2fa7418f3d6797de6aaaaed5f976ffa63. --- .../client/src/components/MkPagination.vue | 5 ----- packages/client/src/pages/messaging/index.vue | 20 ++++++++++++++++--- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/packages/client/src/components/MkPagination.vue b/packages/client/src/components/MkPagination.vue index d98fc7252e..c262ee931c 100644 --- a/packages/client/src/components/MkPagination.vue +++ b/packages/client/src/components/MkPagination.vue @@ -90,7 +90,6 @@ const backed = ref(false); // 遡り中か否か const isBackTop = ref(false); const empty = computed(() => items.value.length === 0); const error = ref(false); -const alreadyInitedOnce = ref(false); const init = async (): Promise => { queue.value = []; @@ -345,14 +344,10 @@ init(); onActivated(() => { isBackTop.value = false; - if(alreadyInitedOnce.value) { - reload(); - } }); onDeactivated(() => { isBackTop.value = window.scrollY === 0; - alreadyInitedOnce.value = true; }); defineExpose({ diff --git a/packages/client/src/pages/messaging/index.vue b/packages/client/src/pages/messaging/index.vue index 3866db1c77..a614085f64 100644 --- a/packages/client/src/pages/messaging/index.vue +++ b/packages/client/src/pages/messaging/index.vue @@ -13,7 +13,7 @@ {{ i18n.ts.startMessaging }} - + @@ -28,7 +28,7 @@ i18n.ts.startMessaging }} - + @@ -41,7 +41,7 @@