pinafore/routes/_pages/statuses/[statusId]/reblogs.html
2018-03-13 20:02:50 -07:00

20 lines
688 B
HTML

<DynamicPageBanner title="Boosts" icon="#fa-retweet" />
<AccountsListPage :accountsFetcher />
<script>
import { getReblogs } from '../../../_api/reblogsAndFavs'
import AccountsListPage from '../../../_components/AccountsListPage.html'
import { store } from '../../../_store/store'
import DynamicPageBanner from '../../../_components/DynamicPageBanner.html'
export default {
computed: {
statusId: params => params.statusId,
accountsFetcher: ($currentInstance, $accessToken, statusId) => () => getReblogs($currentInstance, $accessToken, statusId)
},
store: () => store,
components: {
AccountsListPage,
DynamicPageBanner
}
}
</script>