2018-04-22 18:06:54 +00:00
|
|
|
<DynamicPageBanner title="Follows" />
|
2018-05-02 00:05:36 +00:00
|
|
|
<AccountsListPage {accountsFetcher} />
|
2018-04-22 18:06:54 +00:00
|
|
|
<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: {
|
2018-05-02 00:05:36 +00:00
|
|
|
accountId: ({ params }) => params.accountId,
|
|
|
|
accountsFetcher: ({ $currentInstance, $accessToken, accountId }) => () => getFollows($currentInstance, $accessToken, accountId)
|
2018-04-22 18:06:54 +00:00
|
|
|
},
|
|
|
|
store: () => store,
|
|
|
|
components: {
|
|
|
|
AccountsListPage,
|
|
|
|
DynamicPageBanner
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|