diff --git a/frontend/src/components/ActiveSearchList.vue b/frontend/src/components/ActiveSearchList.vue index 33ed99e..c10343d 100644 --- a/frontend/src/components/ActiveSearchList.vue +++ b/frontend/src/components/ActiveSearchList.vue @@ -28,12 +28,11 @@ function highlightText(text: string, searchterm: string) { @@ -98,7 +100,7 @@ onBeforeUnmount(() => { \ No newline at end of file + diff --git a/frontend/src/components/CollectionListItem.vue b/frontend/src/components/CollectionListItem.vue index dfb3f40..70f79ee 100644 --- a/frontend/src/components/CollectionListItem.vue +++ b/frontend/src/components/CollectionListItem.vue @@ -8,12 +8,13 @@ const props = defineProps<{ collection: CollectionPreview }>(); diff --git a/frontend/src/views/CollectionView.vue b/frontend/src/views/CollectionView.vue index d3ebafb..f6fc610 100644 --- a/frontend/src/views/CollectionView.vue +++ b/frontend/src/views/CollectionView.vue @@ -33,12 +33,12 @@ const fetchCollections = async () => { const container = containerRef.value; if (container) { const noScrollbarYet = container.scrollHeight <= container.clientHeight + 0; - + const mightBeMoreData = newItems.length === limit.value; if (noScrollbarYet && mightBeMoreData) { - isLoading.value = false; - return await fetchCollections(); + isLoading.value = false; + return await fetchCollections(); } } } @@ -66,17 +66,12 @@ onMounted(async () => {