summaryrefslogtreecommitdiffstats
path: root/web/react/utils/channel_intro_mssages.jsx
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-11-19 11:59:59 -0500
committerhmhealey <harrisonmhealey@gmail.com>2015-11-23 10:53:07 -0500
commitb20144db8ec18630cf21cdc4e47c5681f2a67aa0 (patch)
tree09e580e085cefe5546a6f38d89840faaec327867 /web/react/utils/channel_intro_mssages.jsx
parente8f6dd2f3359feceeae9923366c5ec80a6ab1d73 (diff)
downloadchat-b20144db8ec18630cf21cdc4e47c5681f2a67aa0.tar.gz
chat-b20144db8ec18630cf21cdc4e47c5681f2a67aa0.tar.bz2
chat-b20144db8ec18630cf21cdc4e47c5681f2a67aa0.zip
Converted GetLinkModal to React-Bootstrap and added GetTeamInviteLinkModal
Diffstat (limited to 'web/react/utils/channel_intro_mssages.jsx')
-rw-r--r--web/react/utils/channel_intro_mssages.jsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/web/react/utils/channel_intro_mssages.jsx b/web/react/utils/channel_intro_mssages.jsx
index 72328f812..70f3e9534 100644
--- a/web/react/utils/channel_intro_mssages.jsx
+++ b/web/react/utils/channel_intro_mssages.jsx
@@ -101,10 +101,7 @@ export function createDefaultIntroMessage(channel) {
<a
className='intro-links'
href='#'
- data-toggle='modal'
- data-target='#get_link'
- data-title='Team Invite'
- data-value={Utils.getWindowLocationOrigin() + '/signup_user_complete/?id=' + team.id}
+ onClick={GetTeamInviteLinkModal.show}
>
<i className='fa fa-user-plus'></i>{'Invite others to this team'}
</a>