Check for undefined channel (#4650)
This commit is contained in:
parent
581e6ba12a
commit
6305fd597d
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ export function mapStateToProps(state, ownProps) {
|
|||
);
|
||||
}
|
||||
|
||||
if (isMinimumServerVersion(state.entities.general.serverVersion, 5, 24) && license && license.IsLicensed === 'true') {
|
||||
if (channel && isMinimumServerVersion(state.entities.general.serverVersion, 5, 24) && license && license.IsLicensed === 'true') {
|
||||
useGroupMentions = haveIChannelPermission(
|
||||
state,
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue