Move group publication toggles to UserSettings

This commit is contained in:
lukebarnard 2017-11-21 11:50:41 +00:00 committed by Luke Barnard
parent 361e4c81a9
commit 9ed9422af8
7 changed files with 262 additions and 93 deletions

View file

@ -595,6 +595,11 @@ module.exports = React.createClass({
});
},
_renderGroupSettings: function() {
const GroupUserSettings = sdk.getComponent('groups.GroupUserSettings');
return <GroupUserSettings />;
},
_renderReferral: function() {
const teamToken = this.props.teamToken;
if (!teamToken) {
@ -1249,6 +1254,8 @@ module.exports = React.createClass({
{ accountJsx }
</div>
{ this._renderGroupSettings() }
{ this._renderReferral() }
{ notificationArea }