0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Removed Comment button in drawer view

ref https://linear.app/ghost/issue/AP-498/remove-items-from-post-view-in-sidebar
This commit is contained in:
Djordje Vlaisavljevic 2024-10-22 14:58:26 +01:00
parent 51913a7990
commit 7e7aee92c5

View file

@ -203,7 +203,7 @@ const FeedItemStats: React.FC<{
/>
{isLiked && (layout !== 'inbox') && <span className={`text-grey-900`}>{new Intl.NumberFormat().format(likeCount)}</span>}
</div>
<div className='flex gap-1'>
{(layout !== 'modal') && (<div className='flex gap-1'>
<Button
className={`self-start text-grey-900 hover:opacity-60 ${isClicked ? 'bump' : ''}`}
hideLabel={true}
@ -219,7 +219,7 @@ const FeedItemStats: React.FC<{
{commentCount > 0 && (layout !== 'inbox') && (
<span className={`text-grey-900`}>{new Intl.NumberFormat().format(commentCount)}</span>
)}
</div>
</div>)}
</div>);
};