diff --git a/frontend/src/views/KnowledgeView.vue b/frontend/src/views/KnowledgeView.vue index a2e865b..ae9ca88 100644 --- a/frontend/src/views/KnowledgeView.vue +++ b/frontend/src/views/KnowledgeView.vue @@ -82,19 +82,6 @@ async function fetchItems(reset = false) { } finally { loading.value = false; } - - // If the sentinel is still visible in the card-grid after appending, keep loading - if (!reset && items.value.length < total.value) { - await nextTick(); - if (sentinelEl.value && cardGridEl.value) { - const containerBottom = cardGridEl.value.getBoundingClientRect().bottom; - const sentinelTop = sentinelEl.value.getBoundingClientRect().top; - if (sentinelTop < containerBottom + 200) { - page.value++; - await fetchItems(); - } - } - } } async function fetchTags() {