PLT-4893 remove channel handler in channel switcher (#4889)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
47581e6964
Коммит
e492b80fb8
@@ -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 = <div className='status'><i className='fa fa-globe'/></div>;
|
||||
|
||||
Ссылка в новой задаче
Block a user