From 248fb8ec4b3fbd2fd9b08a8103f09d0be41f39c9 Mon Sep 17 00:00:00 2001 From: Mathijs de Bruin Date: Sat, 29 Oct 2022 11:10:53 +0100 Subject: [PATCH] Workaround for #274. --- src/composables/useFileListComposable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composables/useFileListComposable.js b/src/composables/useFileListComposable.js index 38094ac0..7ff27648 100644 --- a/src/composables/useFileListComposable.js +++ b/src/composables/useFileListComposable.js @@ -26,7 +26,7 @@ export const useFileListComposable = ({ fileType }) => { return [Types.all, undefined].includes(route.query.type); }); - const infinite = computed(() => route.query.type === Types.images); + const infinite = computed(() => false); // Disable infinite scrolling until fixed. const loadedPages = computed(() => Math.ceil(store.getters[`results/${fileType}/hits`].length / batchSize)