Moved public and private channels into separate sections in the search autocomplete

Этот коммит содержится в:
hmhealey
2015-11-05 13:32:06 -05:00
родитель 52e75012c3
Коммит e29342d426
3 изменённых файлов: 78 добавлений и 40 удалений

Просмотреть файл

@@ -1125,3 +1125,12 @@ export function sortByDisplayName(a, b) {
}
return 0;
}
export function getChannelTerm(channelType) {
let channelTerm = 'Channel';
if (channelType === Constants.PRIVATE_CHANNEL) {
channelTerm = 'Group';
}
return channelTerm;
}