mirror of
https://github.com/elk-zone/elk.git
synced 2024-09-06 12:19:08 +01:00
2442c80bfb
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
21 lines
528 B
Vue
21 lines
528 B
Vue
<script setup lang="ts">
|
|
const params = useRoute().params
|
|
const tag = $computed(() => params.tag as string)
|
|
const masto = await useMasto()
|
|
const paginator = masto.timelines.getHashtagIterable(tag)
|
|
</script>
|
|
|
|
<template>
|
|
<MainContent>
|
|
<template #title>
|
|
<div i-ri:hashtag h-6 mr-1 /><span>{{ tag }}</span>
|
|
</template>
|
|
<template #actions>
|
|
<div color-gray i-ri:equalizer-fill mr-1 h-6 />
|
|
</template>
|
|
<slot>
|
|
<TimelinePaginator :paginator="paginator" />
|
|
</slot>
|
|
</MainContent>
|
|
</template>
|