Skip to content

Commit

Permalink
Workaround for #274.
Browse files Browse the repository at this point in the history
  • Loading branch information
dokterbob committed Oct 29, 2022
1 parent e52085e commit 248fb8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composables/useFileListComposable.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 248fb8e

Please sign in to comment.