diff --git a/components/common/CommonPaginator.vue b/components/common/CommonPaginator.vue index 9ea6c511..9e9dc935 100644 --- a/components/common/CommonPaginator.vue +++ b/components/common/CommonPaginator.vue @@ -43,8 +43,14 @@ defineSlots<{ }>() const { t } = useI18n() +const nuxtApp = useNuxtApp() const { items, prevItems, update, state, endAnchor, error } = usePaginator(paginator, $$(stream), eventType, preprocess) + +nuxtApp.hook('elk-logo:click', () => { + update() + nuxtApp.$scrollToTop() +})