diff --git a/webapp/channels/src/components/post_edit_history/__snapshots__/post_edit_history.test.tsx.snap b/webapp/channels/src/components/post_edit_history/__snapshots__/post_edit_history.test.tsx.snap index 7b7563e527..0ebd6f303b 100644 --- a/webapp/channels/src/components/post_edit_history/__snapshots__/post_edit_history.test.tsx.snap +++ b/webapp/channels/src/components/post_edit_history/__snapshots__/post_edit_history.test.tsx.snap @@ -30,15 +30,16 @@ exports[`components/post_edit_history should display error screen if errors are class="pull-right" > @@ -192,15 +193,16 @@ exports[`components/post_edit_history should match snapshot 1`] = ` class="pull-right" > diff --git a/webapp/channels/src/components/search_results_header/search_results_header.tsx b/webapp/channels/src/components/search_results_header/search_results_header.tsx index 89bac3eb69..f59cd3814a 100644 --- a/webapp/channels/src/components/search_results_header/search_results_header.tsx +++ b/webapp/channels/src/components/search_results_header/search_results_header.tsx @@ -48,6 +48,8 @@ function SearchResultsHeader(props: Props) { > ); + const expandOrCollapseSidebarButtonAriaLabel = props.isExpanded ? formatMessage({id: 'rhs_header.collapseSidebarTooltip.icon', defaultMessage: 'Collapse Sidebar Icon'}) : formatMessage({id: 'rhs_header.expandSidebarTooltip.icon', defaultMessage: 'Expand Sidebar Icon'}); + return (