Skip to content

Commit

Permalink
fix folder list
Browse files Browse the repository at this point in the history
  • Loading branch information
Xatta-Trone committed Jun 28, 2023
1 parent aa00775 commit f52f52e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/components/user/folders/FolderListsComponent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import axiosAPI from "$lib/services/customAxios";
import { Button, Listgroup, ListgroupItem } from "flowbite-svelte";
import { onMount } from "svelte";
import { inview } from "svelte-inview";
export let folderMeta: Folder;
Expand All @@ -17,7 +16,7 @@
// data variables
let currentPage = 1;
let per_page = 20;
let per_page = 50;
let sets: Data[] = [];
let folderIds: number[] = [];
let loading = false;
Expand Down Expand Up @@ -48,6 +47,7 @@
alert(JSON.stringify(error.response.data.errors));
})
.finally(() => (loading = false));
loadMore()
}
async function fetchFolderIds() {
Expand Down Expand Up @@ -117,5 +117,5 @@
{/each}
</Listgroup>

<div use:inview={{}} on:change={loadMore} />
<!-- <div use:inview={{}} on:change={loadMore} /> -->
</div>

0 comments on commit f52f52e

Please sign in to comment.