author-feed-fix
This commit is contained in:
parent
fce0d7cfc6
commit
2d850f3c36
|
@ -21,7 +21,7 @@ export const AuthorPage = (props: PageProps) => {
|
||||||
const preload = () => {
|
const preload = () => {
|
||||||
return Promise.all([
|
return Promise.all([
|
||||||
loadShouts({
|
loadShouts({
|
||||||
filters: { author: slug(), visibility: 'community' },
|
filters: { author: slug(), published: false },
|
||||||
limit: PRERENDERED_ARTICLES_COUNT,
|
limit: PRERENDERED_ARTICLES_COUNT,
|
||||||
}),
|
}),
|
||||||
loadAuthor({ slug: slug() }),
|
loadAuthor({ slug: slug() }),
|
||||||
|
|
|
@ -12,7 +12,7 @@ import { loadMyFeed, loadShouts, resetSortedArticles } from '../stores/zine/arti
|
||||||
const handleFeedLoadShouts = (options: LoadShoutsOptions) => {
|
const handleFeedLoadShouts = (options: LoadShoutsOptions) => {
|
||||||
return loadShouts({
|
return loadShouts({
|
||||||
...options,
|
...options,
|
||||||
filters: { visibility: 'community' },
|
filters: { published: false },
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user