feat: show followed hashtag badge (#3273)

This commit is contained in:
ayo 2025-04-26 14:53:54 +02:00 committed by GitHub
parent b0f301843b
commit b82e85585c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 36 additions and 7 deletions

View file

@ -23,6 +23,7 @@ onReactivated(() => {
// The user will see the previous content first, and any changes will be updated to the UI when the request is completed
refresh()
})
const followedTags = (await useMasto().client.value.v1.followedTags.list({ limit: 0 }))
</script>
<template>
@ -38,7 +39,7 @@ onReactivated(() => {
</template>
<slot>
<TimelinePaginator v-bind="{ paginator, stream }" context="public" />
<TimelinePaginator :followed-tags="followedTags" v-bind="{ paginator, stream }" context="public" />
</slot>
</MainContent>
</template>