summaryrefslogtreecommitdiffstats
path: root/web/react/pages
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-08-11 15:48:07 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-08-11 16:53:15 -0400
commit37909f52ad4f9cca9ffecd008956912b4a6cf5c7 (patch)
tree0e6630c5fa510ef288a30502b3f94cba20c91c13 /web/react/pages
parente27ba7454d0bfe9f50736edcc15d0c47bfd48089 (diff)
downloadchat-37909f52ad4f9cca9ffecd008956912b4a6cf5c7.tar.gz
chat-37909f52ad4f9cca9ffecd008956912b4a6cf5c7.tar.bz2
chat-37909f52ad4f9cca9ffecd008956912b4a6cf5c7.zip
Disabled the invite members dialog when email is disabled on the server
Diffstat (limited to 'web/react/pages')
-rw-r--r--web/react/pages/channel.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/pages/channel.jsx b/web/react/pages/channel.jsx
index 90d90b29f..99d5c5e9f 100644
--- a/web/react/pages/channel.jsx
+++ b/web/react/pages/channel.jsx
@@ -99,7 +99,7 @@ global.window.setup_channel_page = function(team_name, team_type, team_id, chann
);
React.render(
- <MemberInviteModal />,
+ <MemberInviteModal teamType={team_type} />,
document.getElementById('invite_member_modal')
);