Avoiding javascript error when webrtc is enabled. (#4425)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
d8aad0d4c6
Коммит
b45cc443c9
@@ -84,6 +84,7 @@ export default class ChannelHeader extends React.Component {
|
||||
if (!this.state.channel ||
|
||||
!this.state.memberChannel ||
|
||||
!this.state.users ||
|
||||
(Object.keys(this.state.users).length === 0 && this.state.channel.type === 'D') ||
|
||||
!this.state.userCount ||
|
||||
!this.state.currentUser) {
|
||||
return false;
|
||||
|
||||
Ссылка в новой задаче
Block a user