forked from Ivasoft/mattermost-mobile
Hide archive channels in channel list (#6214)
This commit is contained in:
@@ -175,7 +175,7 @@ const ChannelListItem = ({
|
||||
],
|
||||
[height, isActive, isInfo, styles]);
|
||||
|
||||
if (!myChannel || !isVisible) {
|
||||
if ((!isInfo && (channel.deleteAt > 0 && !isActive)) || !myChannel || !isVisible) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user