2018-03-14 00:14:57 +00:00
|
|
|
<DynamicPageBanner title="Favorites" icon="#fa-star" />
|
2018-05-02 00:05:36 +00:00
|
|
|
<AccountsListPage {accountsFetcher} />
|
2018-03-14 00:14:57 +00:00
|
|
|
<script>
|
|
|
|
import { getFavorites } from '../../../_api/reblogsAndFavs'
|
|
|
|
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
|
|
|
statusId: ({ params }) => params.statusId,
|
|
|
|
accountsFetcher: ({ $currentInstance, $accessToken, statusId }) => () => getFavorites($currentInstance, $accessToken, statusId)
|
2018-03-14 00:14:57 +00:00
|
|
|
},
|
|
|
|
store: () => store,
|
|
|
|
components: {
|
|
|
|
AccountsListPage,
|
|
|
|
DynamicPageBanner
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|