feat: preprocess new items too
parent
4203778f57
commit
80d3d8dd1d
|
@ -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 New Issue