From 275e922ec1a307063d01b32b8f325a9c81a99b0d Mon Sep 17 00:00:00 2001 From: Rita Anene <92169163+Camillarhi@users.noreply.github.com> Date: Fri, 11 Oct 2024 12:49:37 +0100 Subject: [PATCH] [MM-60827] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/suggestion/suggestion_list.tsx' with FormattedMessage (#28613) --- .../src/components/suggestion/suggestion_list.tsx | 8 ++++---- webapp/channels/src/i18n/en.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/webapp/channels/src/components/suggestion/suggestion_list.tsx b/webapp/channels/src/components/suggestion/suggestion_list.tsx index a3a96336eb..9d21364095 100644 --- a/webapp/channels/src/components/suggestion/suggestion_list.tsx +++ b/webapp/channels/src/components/suggestion/suggestion_list.tsx @@ -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 { className='suggestion-list__no-results' ref={this.contentRef} > - {chunks}, }} /> diff --git a/webapp/channels/src/i18n/en.json b/webapp/channels/src/i18n/en.json index 3517f947f2..4f37daccb6 100644 --- a/webapp/channels/src/i18n/en.json +++ b/webapp/channels/src/i18n/en.json @@ -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 {value}", "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 recent changes may have affected them.",