MM-52499 - fix error while removing all channels in guest invite form (#23173)
* MM-52499 - fix error while removing all channels in guest invite form * add guard against channels being null
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
d7131030f5
Коммит
13f1d0fdc5
@@ -266,7 +266,7 @@ export class InvitationModal extends React.PureComponent<Props, State> {
|
||||
...state.invite,
|
||||
inviteChannels: {
|
||||
...state.invite.inviteChannels,
|
||||
channels,
|
||||
channels: channels ?? [],
|
||||
},
|
||||
},
|
||||
}));
|
||||
|
||||
Ссылка в новой задаче
Block a user