MM-51585 : Fix duplicated date separator in center channel when Pinned posts RHS is open (#23068)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a00ee98fa2
Коммит
52e5cd5ecd
@@ -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) && <DateSeparator date={currentPostDay}/>}
|
||||
{(isSearchResultItem || (props.location !== Locations.CENTER && props.isPinnedPosts) || props.isFlagged) && <DateSeparator date={currentPostDay}/>}
|
||||
<PostAriaLabelDiv
|
||||
ref={postRef}
|
||||
role='listitem'
|
||||
|
||||
Ссылка в новой задаче
Block a user