From 74d394ab99ed938f6efa23c41046030ba2b9116e Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Thu, 27 Jun 2024 20:56:02 +0200 Subject: [PATCH] Update post-form.tsx --- src/components/post-form/post-form.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/post-form/post-form.tsx b/src/components/post-form/post-form.tsx index 34c094b7..7d871f68 100644 --- a/src/components/post-form/post-form.tsx +++ b/src/components/post-form/post-form.tsx @@ -282,7 +282,7 @@ const PostForm = () => { return ( <>
- {!(isInAllView || isInSubscriptionsView) && showForm &&
{offlineMessage}
} + {!(isInAllView || isInSubscriptionsView) && showForm && isBoardOffline &&
{offlineMessage}
} {isThreadClosed ? (
{t('thread_closed')} @@ -302,7 +302,7 @@ const PostForm = () => { )}
- {!(isInAllView || isInSubscriptionsView) && showForm &&
{offlineMessage}
} + {!(isInAllView || isInSubscriptionsView) && showForm && isBoardOffline &&
{offlineMessage}
} {isThreadClosed ? (
{t('thread_closed')}