diff --git a/webapp/channels/src/components/post/post_component.tsx b/webapp/channels/src/components/post/post_component.tsx index 1b8c0e5335..9fba63cdc4 100644 --- a/webapp/channels/src/components/post/post_component.tsx +++ b/webapp/channels/src/components/post/post_component.tsx @@ -513,7 +513,7 @@ const PostComponent = (props: Props): JSX.Element => { className={props.location === 'SEARCH' ? 'search-item__container' : undefined} data-testid={props.location === 'SEARCH' ? 'search-item-container' : undefined} > - {(isSearchResultItem || props.isPinnedPosts || props.isFlagged) && } + {(isSearchResultItem || (props.location !== Locations.CENTER && props.isPinnedPosts) || props.isFlagged) && }