Open group settings when the group is created

This commit is contained in:
Luke Barnard 2017-11-06 18:02:50 +00:00
parent f1db564506
commit 36cd22663a
4 changed files with 13 additions and 3 deletions

View file

@ -490,7 +490,10 @@ module.exports = React.createClass({
case 'view_group':
{
const groupId = payload.group_id;
this.setState({currentGroupId: groupId});
this.setState({
currentGroupId: groupId,
currentGroupIsNew: payload.group_is_new,
});
this._setPage(PageTypes.GroupView);
this.notifyNewScreen('group/' + groupId);
}