Filter archived channel from webhooks dropdown (#28427)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b859ca2d90
Коммит
0c8212078c
@@ -17,7 +17,8 @@ const getMyChannelsSorted = createSelector(
|
|||||||
getMyChannels,
|
getMyChannels,
|
||||||
getCurrentUserLocale,
|
getCurrentUserLocale,
|
||||||
(channels, locale) => {
|
(channels, locale) => {
|
||||||
return [...channels].sort(sortChannelsByTypeAndDisplayName.bind(null, locale));
|
const activeChannels = channels.filter((channel) => channel.delete_at === 0);
|
||||||
|
return [...activeChannels].sort(sortChannelsByTypeAndDisplayName.bind(null, locale));
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user