From b20144db8ec18630cf21cdc4e47c5681f2a67aa0 Mon Sep 17 00:00:00 2001
From: hmhealey <harrisonmhealey@gmail.com>
Date: Thu, 19 Nov 2015 11:59:59 -0500
Subject: Converted GetLinkModal to React-Bootstrap and added
 GetTeamInviteLinkModal

---
 web/react/utils/channel_intro_mssages.jsx | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

(limited to 'web/react/utils/channel_intro_mssages.jsx')

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>
-- 
cgit v1.2.3-1-g7c22

