diff --git a/webapp/channels/src/components/channel_select/index.ts b/webapp/channels/src/components/channel_select/index.ts index 08d71804dd..faac736179 100644 --- a/webapp/channels/src/components/channel_select/index.ts +++ b/webapp/channels/src/components/channel_select/index.ts @@ -17,7 +17,8 @@ const getMyChannelsSorted = createSelector( getMyChannels, getCurrentUserLocale, (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)); }, );