mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
[MM-63027] Allow results to be read on filter without search term (#33625)
* [MM-63027] Allow results to be read on filter without search term * Fix snap
This commit is contained in:
@@ -34,6 +34,13 @@ exports[`components/SearchableChannelList should match init snapshot 1`] = `
|
||||
>
|
||||
0 Results
|
||||
</span>
|
||||
<span
|
||||
aria-live="polite"
|
||||
className="sr-only"
|
||||
role="status"
|
||||
>
|
||||
0 Results
|
||||
</span>
|
||||
<div
|
||||
id="modalPreferenceContainer"
|
||||
>
|
||||
|
||||
@@ -594,15 +594,13 @@ export class SearchableChannelList extends React.PureComponent<Props, State> {
|
||||
const dropDownContainer = (
|
||||
<div className='more-modal__dropdown'>
|
||||
<span id='channelCountLabel'>{channelCountLabel}</span>
|
||||
{this.props.isSearch &&
|
||||
<span
|
||||
className='sr-only'
|
||||
role='status'
|
||||
aria-live='polite'
|
||||
>
|
||||
{channelCountLabel}
|
||||
</span>
|
||||
}
|
||||
<span
|
||||
className='sr-only'
|
||||
role='status'
|
||||
aria-live='polite'
|
||||
>
|
||||
{channelCountLabel}
|
||||
</span>
|
||||
<div id='modalPreferenceContainer'>
|
||||
{channelDropdown}
|
||||
{hideJoinedPreferenceCheckbox}
|
||||
|
||||
Reference in New Issue
Block a user