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