Fixed missing default channel subscription icon
This commit is contained in:
parent
68f1cf934c
commit
04e81cd321
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ class ChannelEntryIcon extends ReactComponentBase<ChannelEntryIconProperties, {}
|
||||||
} else if (!channel_properties.channel_flag_maxfamilyclients_unlimited && channel_properties.channel_maxfamilyclients >= 0 && this.props.channel.clients(true).length >= channel_properties.channel_maxfamilyclients) {
|
} else if (!channel_properties.channel_flag_maxfamilyclients_unlimited && channel_properties.channel_maxfamilyclients >= 0 && this.props.channel.clients(true).length >= channel_properties.channel_maxfamilyclients) {
|
||||||
channelIcon = subscribed ? ClientIcon.ChannelRedSubscribed : ClientIcon.ChannelRed;
|
channelIcon = subscribed ? ClientIcon.ChannelRedSubscribed : ClientIcon.ChannelRed;
|
||||||
} else {
|
} else {
|
||||||
channelIcon = ClientIcon.ChannelGreen;
|
channelIcon = subscribed ? ClientIcon.ChannelGreenSubscribed : ClientIcon.ChannelGreen;
|
||||||
}
|
}
|
||||||
|
|
||||||
return <ClientIconRenderer icon={channelIcon} className={channelStyle.channelType} />;
|
return <ClientIconRenderer icon={channelIcon} className={channelStyle.channelType} />;
|
||||||
|
|
Loading…
Add table
Reference in a new issue