[MM-53636] Add channel/team name back for the Saved Posts view (#24117)
* [MM-53636] Add channel/team name back for the Saved Posts view * E2E test
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
93a2c3281a
Коммит
047583947f
@@ -527,7 +527,7 @@ const PostComponent = (props: Props): JSX.Element => {
|
||||
className='search-channel__name__container'
|
||||
aria-hidden='true'
|
||||
>
|
||||
{Boolean(isSearchResultItem) &&
|
||||
{(Boolean(isSearchResultItem) || props.isFlaggedPosts) &&
|
||||
<span className='search-channel__name'>
|
||||
{channelDisplayName}
|
||||
</span>
|
||||
@@ -541,7 +541,7 @@ const PostComponent = (props: Props): JSX.Element => {
|
||||
/>
|
||||
</span>
|
||||
}
|
||||
{Boolean(isSearchResultItem) && Boolean(props.teamDisplayName) &&
|
||||
{(Boolean(isSearchResultItem) || props.isFlaggedPosts) && Boolean(props.teamDisplayName) &&
|
||||
<span className='search-team__name'>
|
||||
{props.teamDisplayName}
|
||||
</span>
|
||||
|
||||
Ссылка в новой задаче
Block a user