diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-03-03 16:01:41 -0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-03-03 16:02:50 -0500 |
commit | 31238f1d3a630b60bf8e1cfd90c9caa54f58d9f9 (patch) | |
tree | 64ec1417e33de75f8dd261f7b5fbd4cfbf13745d /web/react/components/navbar_dropdown.jsx | |
parent | a413c8ffa684b72840f116380c04a61f1d9cf524 (diff) | |
download | chat-31238f1d3a630b60bf8e1cfd90c9caa54f58d9f9.tar.gz chat-31238f1d3a630b60bf8e1cfd90c9caa54f58d9f9.tar.bz2 chat-31238f1d3a630b60bf8e1cfd90c9caa54f58d9f9.zip |
Removed Get Team Invite Link link when user creation is disabled
Diffstat (limited to 'web/react/components/navbar_dropdown.jsx')
-rw-r--r-- | web/react/components/navbar_dropdown.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/navbar_dropdown.jsx b/web/react/components/navbar_dropdown.jsx index e9df03c33..0ddd6ff4f 100644 --- a/web/react/components/navbar_dropdown.jsx +++ b/web/react/components/navbar_dropdown.jsx @@ -107,7 +107,7 @@ export default class NavbarDropdown extends React.Component { </li> ); - if (this.props.teamType === Constants.OPEN_TEAM) { + if (this.props.teamType === Constants.OPEN_TEAM && global.window.mm_config.EnableUserCreation === 'true') { teamLink = ( <li> <a |