feat: show followed hashtag badge (#3273)
This commit is contained in:
parent
b0f301843b
commit
b82e85585c
6 changed files with 36 additions and 7 deletions
|
@ -6,10 +6,12 @@ const stream = useStreaming(client => client.public.subscribe())
|
|||
function reorderAndFilter(items: mastodon.v1.Status[]) {
|
||||
return reorderedTimeline(items, 'public')
|
||||
}
|
||||
|
||||
const followedTags = (await useMasto().client.value.v1.followedTags.list({ limit: 0 }))
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<TimelinePaginator v-bind="{ paginator, stream }" :preprocess="reorderAndFilter" context="public" />
|
||||
<TimelinePaginator :followed-tags="followedTags" v-bind="{ paginator, stream }" :preprocess="reorderAndFilter" context="public" />
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue