forked from Mirrors/elk
swap watch with source
This commit is contained in:
parent
8d9e59b2a6
commit
3ecbc694aa
1 changed files with 4 additions and 1 deletions
|
@ -49,7 +49,10 @@ const nuxtApp = useNuxtApp()
|
||||||
|
|
||||||
const { items, prevItems, update, state, endAnchor, error } = usePaginator(paginator, $$(stream), eventType, preprocess)
|
const { items, prevItems, update, state, endAnchor, error } = usePaginator(paginator, $$(stream), eventType, preprocess)
|
||||||
|
|
||||||
const postProcessedItems = computedWithControl(() => postprocess(items.value as U[]), () => items.value)
|
const postProcessedItems = computedWithControl(
|
||||||
|
() => items.value,
|
||||||
|
() => postprocess(items.value as U[]),
|
||||||
|
)
|
||||||
|
|
||||||
nuxtApp.hook('elk-logo:click', () => {
|
nuxtApp.hook('elk-logo:click', () => {
|
||||||
update()
|
update()
|
||||||
|
|
Loading…
Reference in a new issue