diff --git a/packages/frontend/src/components/MkPagination.vue b/packages/frontend/src/components/MkPagination.vue index b361d568e8..661b04c365 100644 --- a/packages/frontend/src/components/MkPagination.vue +++ b/packages/frontend/src/components/MkPagination.vue @@ -188,6 +188,7 @@ watch(queue, (a, b) => { }, { deep: true }); async function init(): Promise { + items.value = new Map(); queue.value = new Map(); fetching.value = true; const params = props.pagination.params ? isRef(props.pagination.params) ? props.pagination.params.value : props.pagination.params : {}; @@ -219,8 +220,6 @@ async function init(): Promise { } const reload = (): Promise => { - items.value = new Map(); - queue.value = new Map(); return init(); };