fix(ui) - session share

This commit is contained in:
Shekar Siri 2023-01-30 14:48:58 +01:00
parent 8338f1e659
commit 03e28df698

View file

@ -91,15 +91,13 @@ export default class SharePopup extends React.PureComponent {
const { trigger, channels, msTeamsChannels, showCopyLink = false } = this.props;
const { comment, channelId, teamsChannel, loading } = this.state;
// const slackOptions = channels
// .map(({ webhookId, name }) => ({ value: webhookId, label: name }))
// .toJS();
const slackOptions = channels
.map(({ webhookId, name }) => ({ value: webhookId, label: name }))
.toJS();
// const msTeamsOptions = msTeamsChannels
// .map(({ webhookId, name }) => ({ value: webhookId, label: name }))
// .toJS();
const slackOptions = [], msTeamsOptions = [];
const msTeamsOptions = msTeamsChannels
.map(({ webhookId, name }) => ({ value: webhookId, label: name }))
.toJS();
return (
<Popover