channel avatar fix

This commit is contained in:
zeppi 2020-11-10 16:28:50 -05:00 committed by Sean Yesmunt
parent 94f8db4da9
commit 463f72ee56

View file

@ -101,7 +101,7 @@ const Header = (props: Props) => {
const notificationsEnabled = user && user.experimental_ui;
let channelUrl;
let identityChannel;
if (myChannels && myChannels.length > 1) {
if (myChannels && myChannels.length >= 1) {
if (myChannels.length === 1) {
identityChannel = myChannels[0];
} else if (commentChannel) {