mirror of
https://github.com/elk-zone/elk.git
synced 2024-12-14 23:21:46 +03:00
17 lines
465 B
Vue
17 lines
465 B
Vue
<script setup lang="ts">
|
|
definePageMeta({
|
|
name: 'list',
|
|
})
|
|
|
|
const params = useRoute().params
|
|
const listId = $(computedEager(() => params.list as string))
|
|
|
|
const { client } = $(useMasto())
|
|
|
|
const paginator = client.v1.timelines.listList(listId)
|
|
const stream = useStreaming(client => client.v1.stream.streamListTimeline(listId))
|
|
</script>
|
|
|
|
<template>
|
|
<TimelinePaginator v-bind="{ paginator, stream }" :preprocess="reorderedTimeline" context="home" />
|
|
</template>
|