mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-60827] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/suggestion/suggestion_list.tsx' with FormattedMessage (#28613)
This commit is contained in:
parent
2f08b0df44
commit
275e922ec1
@ -6,7 +6,6 @@ import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import {FormattedMessage} from 'react-intl';
|
||||
|
||||
import FormattedMarkdownMessage from 'components/formatted_markdown_message';
|
||||
import LoadingSpinner from 'components/widgets/loading/loading_spinner';
|
||||
|
||||
import {Constants} from 'utils/constants';
|
||||
@ -225,11 +224,12 @@ export default class SuggestionList extends React.PureComponent<Props> {
|
||||
className='suggestion-list__no-results'
|
||||
ref={this.contentRef}
|
||||
>
|
||||
<FormattedMarkdownMessage
|
||||
id='suggestion_list.no_matches'
|
||||
defaultMessage='No items match __{value}__'
|
||||
<FormattedMessage
|
||||
id='suggestionList.noMatches'
|
||||
defaultMessage='No items match <b>{value}</b>'
|
||||
values={{
|
||||
value: this.props.pretext || '""',
|
||||
b: (chunks: string) => <b>{chunks}</b>,
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
@ -5159,7 +5159,6 @@
|
||||
"status_dropdown.set_ooo.extra": "Automatic replies are enabled",
|
||||
"success_modal.return_to_workspace": "Return to workspace",
|
||||
"success_modal.subtitle": "Your final bill will be prorated. Your workspace now has {plan} limits.",
|
||||
"suggestion_list.no_matches": "No items match __{value}__",
|
||||
"suggestion.all": "All channel types",
|
||||
"suggestion.archive": "Archived channels",
|
||||
"suggestion.commands": "Commands",
|
||||
@ -5184,6 +5183,7 @@
|
||||
"suggestion.search.private": "Private Channels",
|
||||
"suggestion.search.public": "Public Channels",
|
||||
"suggestion.user.isCurrent": "(you)",
|
||||
"suggestionList.noMatches": "No items match <b>{value}</b>",
|
||||
"system_notice.adminVisible": "Only visible to System Admins",
|
||||
"system_notice.adminVisible.icon": "Only visible to System Admins Icon",
|
||||
"system_notice.body.api3": "If you’ve created or installed integrations in the last two years, find out how <link>recent changes</link> may have affected them.",
|
||||
|
Loading…
Reference in New Issue
Block a user