diff --git a/frontend/app/components/shared/SharePopup/SharePopup.js b/frontend/app/components/shared/SharePopup/SharePopup.js index 1df16cf6d..8e09f819c 100644 --- a/frontend/app/components/shared/SharePopup/SharePopup.js +++ b/frontend/app/components/shared/SharePopup/SharePopup.js @@ -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 (