mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Select new tag after creating the group
This commit is contained in:
parent
634f7ba938
commit
65fe562cbf
@ -88,6 +88,13 @@ export default createReactClass({
|
||||
action: 'view_room',
|
||||
room_id: result.room_id,
|
||||
});
|
||||
|
||||
// Ensure the tag gets selected now that we've created it
|
||||
dis.dispatch({action: 'deselect_tags'}, true);
|
||||
dis.dispatch({
|
||||
action: 'select_tag',
|
||||
tag: result.group_id,
|
||||
});
|
||||
} else {
|
||||
dis.dispatch({
|
||||
action: 'view_group',
|
||||
|
Loading…
Reference in New Issue
Block a user