feat: status route using full account (#115)
This commit is contained in:
parent
b36a803eef
commit
4bb2910761
9 changed files with 104 additions and 81 deletions
13
pages/@[account]/index/followers.vue
Normal file
13
pages/@[account]/index/followers.vue
Normal file
|
@ -0,0 +1,13 @@
|
|||
<script setup lang="ts">
|
||||
const params = useRoute().params
|
||||
const accountName = $computed(() => params.account as string)
|
||||
|
||||
const account = await fetchAccountByName(accountName)
|
||||
const paginator = account ? masto.accounts.getFollowersIterable(account.id, {}) : null
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<template v-if="account">
|
||||
<AccountPaginator :paginator="paginator" />
|
||||
</template>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue