From 2d850f3c3677f898122d0e2d26be6c22ee30d543 Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 29 Nov 2023 15:42:48 +0300 Subject: [PATCH] author-feed-fix --- src/pages/author.page.tsx | 2 +- src/pages/feed.page.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/author.page.tsx b/src/pages/author.page.tsx index a13e531f..d2adfb2e 100644 --- a/src/pages/author.page.tsx +++ b/src/pages/author.page.tsx @@ -21,7 +21,7 @@ export const AuthorPage = (props: PageProps) => { const preload = () => { return Promise.all([ loadShouts({ - filters: { author: slug(), visibility: 'community' }, + filters: { author: slug(), published: false }, limit: PRERENDERED_ARTICLES_COUNT, }), loadAuthor({ slug: slug() }), diff --git a/src/pages/feed.page.tsx b/src/pages/feed.page.tsx index 7dd3bcfd..fb73a833 100644 --- a/src/pages/feed.page.tsx +++ b/src/pages/feed.page.tsx @@ -12,7 +12,7 @@ import { loadMyFeed, loadShouts, resetSortedArticles } from '../stores/zine/arti const handleFeedLoadShouts = (options: LoadShoutsOptions) => { return loadShouts({ ...options, - filters: { visibility: 'community' }, + filters: { published: false }, }) }