From adeb1e9da10d9658f63e8edbfe1d8b0f9ea18f5b Mon Sep 17 00:00:00 2001 From: Ivy Gesare <83957195+Gesare5@users.noreply.github.com> Date: Fri, 11 Oct 2024 16:38:05 +0300 Subject: [PATCH] [MM-60845] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/integrations/installed_commands/installed_commands.tsx' with FormattedMessage (#28706) --- .../installed_commands/installed_commands.tsx | 10 ++++++---- webapp/channels/src/i18n/en.json | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/webapp/channels/src/components/integrations/installed_commands/installed_commands.tsx b/webapp/channels/src/components/integrations/installed_commands/installed_commands.tsx index 2daf8f868f..907965bfa0 100644 --- a/webapp/channels/src/components/integrations/installed_commands/installed_commands.tsx +++ b/webapp/channels/src/components/integrations/installed_commands/installed_commands.tsx @@ -13,7 +13,6 @@ import type {ActionResult} from 'mattermost-redux/types/actions'; import BackstageList from 'components/backstage/components/backstage_list'; import ExternalLink from 'components/external_link'; -import FormattedMarkdownMessage from 'components/formatted_markdown_message'; import {DeveloperLinks} from 'utils/constants'; import * as Utils from 'utils/utils'; @@ -107,9 +106,12 @@ export default class InstalledCommands extends React.PureComponent { /> } emptyTextSearch={ - {chunks}, + }} /> } helpText={ diff --git a/webapp/channels/src/i18n/en.json b/webapp/channels/src/i18n/en.json index 2522f567b9..83225563a3 100644 --- a/webapp/channels/src/i18n/en.json +++ b/webapp/channels/src/i18n/en.json @@ -3918,12 +3918,12 @@ "installed_commands.add": "Add Slash Command", "installed_commands.delete.confirm": "This action permanently deletes the slash command and breaks any integrations using it. Are you sure you want to delete it?", "installed_commands.empty": "No commands found", - "installed_commands.emptySearch": "No commands match **{searchTerm}**", "installed_commands.header": "Slash Commands", "installed_commands.help": "Use slash commands to connect external tools to Mattermost. {buildYourOwn} or visit the {appDirectory} to find self-hosted, third-party apps and integrations.", "installed_commands.help.appDirectory": "App Directory", "installed_commands.help.buildYourOwn": "Build Your Own", "installed_commands.search": "Search Slash Commands", + "installed_commands.search.empty": "No slash commands match {searchTerm}", "installed_commands.unnamed_command": "Unnamed Slash Command", "installed_incoming_webhooks.add": "Add Incoming Webhook", "installed_incoming_webhooks.delete.confirm": "This action permanently deletes the incoming webhook and breaks any integrations using it. Are you sure you want to delete it?",