feat: status route using full account (#115)

This commit is contained in:
patak 2022-11-26 00:49:56 +01:00 committed by GitHub
parent b36a803eef
commit 4bb2910761
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 104 additions and 81 deletions

View 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>