Skip to content

Commit

Permalink
fix pagination 3
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciomb97 committed Oct 15, 2024
1 parent 66441d3 commit 9254121
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/createimages.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
:first="first"
@page="onPageChange"
class="flex justify-center"
>
</Paginator>
template="FirstPageLink PrevPageLink CurrentPageReport NextPageLink LastPageLink"
/>
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 2xl:grid-cols-8 gap-2 px-2">
<ImageCard v-for="i in paginatedImages" :key="i.id" :image="i" />
</div>
Expand All @@ -35,7 +35,7 @@ const { data, refresh } = await useFetch("/api/inference", {
const interval = useIntervalFn(() => refresh(), 5_000); // refresh every 5s
useTimeoutFn(() => interval.pause(), 3_600_000); // stops refreshing after 1h
const first = ref(0);
const rows = ref(15);
const rows = ref(16);
const toast = useToast();
const showLimitationsToast = () => {
Expand Down

0 comments on commit 9254121

Please sign in to comment.