From 7e06305b9655063dec6b0d3021211e8e9d4013e1 Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 18 Jul 2023 13:11:42 +0000 Subject: [PATCH] executeQueue after visible --- packages/frontend/src/components/MkPagination.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/frontend/src/components/MkPagination.vue b/packages/frontend/src/components/MkPagination.vue index 577ea064b6..e302691695 100644 --- a/packages/frontend/src/components/MkPagination.vue +++ b/packages/frontend/src/components/MkPagination.vue @@ -429,6 +429,12 @@ onDeactivated(() => { active.value = false; }); +watch(visibility, () => { + if (active.value && visibility.value === 'visible') { + executeQueue(); + } +}); + /** * 最新のものとして1つだけアイテムを追加する * ストリーミングから降ってきたアイテムはこれで追加する