PLT-4893 remove channel handler in channel switcher (#4889)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
47581e6964
Коммит
e492b80fb8
@@ -24,13 +24,7 @@ class SwitchChannelSuggestion extends Suggestion {
|
|||||||
className += ' suggestion--selected';
|
className += ' suggestion--selected';
|
||||||
}
|
}
|
||||||
|
|
||||||
let displayName = '';
|
const displayName = item.display_name;
|
||||||
if (item.type === Constants.DM_CHANNEL) {
|
|
||||||
displayName = item.display_name;
|
|
||||||
} else {
|
|
||||||
displayName = item.display_name + ' (' + item.name + ')';
|
|
||||||
}
|
|
||||||
|
|
||||||
let icon = null;
|
let icon = null;
|
||||||
if (item.type === Constants.OPEN_CHANNEL) {
|
if (item.type === Constants.OPEN_CHANNEL) {
|
||||||
icon = <div className='status'><i className='fa fa-globe'/></div>;
|
icon = <div className='status'><i className='fa fa-globe'/></div>;
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user