mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
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
This commit is contained in:
parent
d7131030f5
commit
13f1d0fdc5
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ export class InvitationModal extends React.PureComponent<Props, State> {
|
|||
...state.invite,
|
||||
inviteChannels: {
|
||||
...state.invite.inviteChannels,
|
||||
channels,
|
||||
channels: channels ?? [],
|
||||
},
|
||||
},
|
||||
}));
|
||||
|
|
|
|||
Loading…
Reference in a new issue