pinafore/routes/_pages/accounts/[accountId]/follows.html
2018-04-26 22:37:39 -07:00

21 lines
680 B
HTML

<DynamicPageBanner title="Follows" />
<AccountsListPage :accountsFetcher />
<script>
import { getFollows } from '../../../_api/followsAndFollowers'
import AccountsListPage from '../../../_components/AccountsListPage.html'
import { store } from '../../../_store/store'
import DynamicPageBanner from '../../../_components/DynamicPageBanner.html'
export default {
computed: {
accountId: params => params.accountId,
accountsFetcher: ($currentInstance, $accessToken, accountId) => () => getFollows($currentInstance, $accessToken, accountId)
},
store: () => store,
components: {
AccountsListPage,
DynamicPageBanner
}
}
</script>