diff --git a/webapp/components/suggestion/switch_channel_provider.jsx b/webapp/components/suggestion/switch_channel_provider.jsx index 35ce4d578a..301974b9a0 100644 --- a/webapp/components/suggestion/switch_channel_provider.jsx +++ b/webapp/components/suggestion/switch_channel_provider.jsx @@ -24,13 +24,7 @@ class SwitchChannelSuggestion extends Suggestion { className += ' suggestion--selected'; } - let displayName = ''; - if (item.type === Constants.DM_CHANNEL) { - displayName = item.display_name; - } else { - displayName = item.display_name + ' (' + item.name + ')'; - } - + const displayName = item.display_name; let icon = null; if (item.type === Constants.OPEN_CHANNEL) { icon =