From 03e28df698fbc55a2525c590afe6dc478fc6b4bc Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Mon, 30 Jan 2023 14:48:58 +0100 Subject: [PATCH] fix(ui) - session share --- .../app/components/shared/SharePopup/SharePopup.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) 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 (