author-feed-fix
Some checks are pending
deploy / deploy (push) Blocked by required conditions
deploy / test (push) Waiting to run

This commit is contained in:
Untone 2023-11-29 15:42:48 +03:00
parent fce0d7cfc6
commit 2d850f3c36
2 changed files with 2 additions and 2 deletions

View File

@ -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() }),

View File

@ -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 },
}) })
} }