diff --git a/packages/frontend/src/components/MkPagination.vue b/packages/frontend/src/components/MkPagination.vue index 4f2a4d2703..0164883099 100644 --- a/packages/frontend/src/components/MkPagination.vue +++ b/packages/frontend/src/components/MkPagination.vue @@ -104,6 +104,7 @@ const props = withDefaults(defineProps<{ const emit = defineEmits<{ (ev: 'queue', count: number): void; (ev: 'status', error: boolean): void; + (ev: 'init'): void; }>(); const rootEl = shallowRef(); @@ -232,6 +233,8 @@ async function init(): Promise { offset.value = res.length; error.value = false; fetching.value = false; + + emit('init'); }, err => { error.value = true; fetching.value = false;