feat(lilium) #7136 remove Index
gitea/salix-front/pipeline/pr-dev Build queued... Details

This commit is contained in:
Javier Segarra 2024-04-16 15:30:12 +02:00
parent 7aa5292adc
commit 5b518eb2db
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ async function onScroll(scrollEv) {
if (!$props.url && !$props.fetchRef) return;
if (direction === 'decrease') return;
if (optionIndex > 0 && to === lastIndex && isLoading.value === false) {
if (to === lastIndex && !isLoading.value) {
isLoading.value = true;
!$props.url && (await $props.fetchRef.paginate());
$props.url && (await dataRef.value.paginate());