mirror of
https://github.com/elk-zone/elk
synced 2025-01-19 05:42:50 +09:00
fix: show remaining items in buffer on pagination end
This commit is contained in:
parent
1dcaf41c0f
commit
19e4aa4ada
@ -70,6 +70,8 @@ export function usePaginator<T, P>(
|
||||
state.value = 'idle'
|
||||
}
|
||||
else {
|
||||
items.value.push(...nextItems.value)
|
||||
nextItems.value = []
|
||||
state.value = 'done'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user