mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-21 17:05:22 +03:00
feat: preprocess new items too
This commit is contained in:
parent
4203778f57
commit
80d3d8dd1d
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ export function usePaginator<T, P>(
|
|||
const deactivated = useDeactivated()
|
||||
|
||||
async function update() {
|
||||
items.value.unshift(...prevItems.value)
|
||||
items.value.unshift(...preprocess(prevItems.value as any) as any)
|
||||
prevItems.value = []
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue