Move group publication toggles to UserSettings
This commit is contained in:
parent
361e4c81a9
commit
9ed9422af8
7 changed files with 262 additions and 93 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue