enable reply link and post menu for description and rules posts

This commit is contained in:
Tom (plebeius.eth)
2024-08-30 22:48:17 +02:00
parent defd56f5f8
commit 2ccec85e56
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ const PostInfo = ({ openReplyModal, post, postReplyCount = 0, roles, isHidden }:
[
<Link
to={isInAllView && isDescription ? '/p/all/description' : `/p/${subplebbitAddress}/${isDescription ? 'description' : isRules ? 'rules' : `c/${postCid}`}`}
onClick={(e) => !cid && e.preventDefault()}
onClick={(e) => !cid && !isDescription && !isRules && e.preventDefault()}
>
{_.capitalize(t('reply'))}
</Link>