forked from cybrespace/pinafore
can show list of follow requests
This commit is contained in:
parent
67e2e781f4
commit
4e47f3048b
|
@ -0,0 +1,20 @@
|
||||||
|
<DynamicPageBanner title="Follow requests" icon="#fa-user-plus" />
|
||||||
|
<AccountsListPage :accountsFetcher />
|
||||||
|
<script>
|
||||||
|
import AccountsListPage from '.././_components/AccountsListPage.html'
|
||||||
|
import { store } from '.././_store/store'
|
||||||
|
import { getFollowRequests } from '../_actions/followRequests'
|
||||||
|
import DynamicPageBanner from '.././_components/DynamicPageBanner.html'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
computed: {
|
||||||
|
statusId: params => params.statusId,
|
||||||
|
accountsFetcher: ($currentInstance, $accessToken, statusId) => () => getFollowRequests($currentInstance, $accessToken, statusId)
|
||||||
|
},
|
||||||
|
store: () => store,
|
||||||
|
components: {
|
||||||
|
AccountsListPage,
|
||||||
|
DynamicPageBanner
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
|
@ -0,0 +1,21 @@
|
||||||
|
<:Head>
|
||||||
|
<title>Pinafore – Follow requests</title>
|
||||||
|
</:Head>
|
||||||
|
<Layout page='muted'>
|
||||||
|
<LazyPage :pageComponent :params />
|
||||||
|
</Layout>
|
||||||
|
<script>
|
||||||
|
import Layout from './_components/Layout.html'
|
||||||
|
import LazyPage from './_components/LazyPage.html'
|
||||||
|
import pageComponent from './_pages/requests.html'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
Layout,
|
||||||
|
LazyPage
|
||||||
|
},
|
||||||
|
data: () => ({
|
||||||
|
pageComponent
|
||||||
|
})
|
||||||
|
}
|
||||||
|
</script>
|
Loading…
Reference in New Issue