kopia lustrzana https://github.com/elk-zone/elk
fix: allow initial page loading without manual click
rodzic
c23e2cb8e2
commit
5b7f71a35a
|
@ -18,7 +18,7 @@ export function usePaginator<T, P, U = T>(
|
|||
const items = ref<U[]>([])
|
||||
const nextItems = ref<U[]>([])
|
||||
const prevItems = ref<T[]>([])
|
||||
const canLoadMore = ref<boolean>(false)
|
||||
const canLoadMore = ref<boolean>(true)
|
||||
|
||||
const endAnchor = ref<HTMLDivElement>()
|
||||
const bound = useElementBounding(endAnchor)
|
||||
|
|
Ładowanie…
Reference in New Issue