mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 04:21:57 +03:00
fix navigation to room info in group view
This commit is contained in:
parent
75925f6192
commit
fb4a441341
2 changed files with 3 additions and 1 deletions
|
@ -141,6 +141,8 @@ export default class RightPanel extends React.Component {
|
||||||
if (payload.action === "view_right_panel_phase") {
|
if (payload.action === "view_right_panel_phase") {
|
||||||
this.setState({
|
this.setState({
|
||||||
phase: payload.phase,
|
phase: payload.phase,
|
||||||
|
groupRoomId: payload.groupRoomId,
|
||||||
|
groupId: payload.groupId,
|
||||||
member: payload.member,
|
member: payload.member,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ export default class GroupHeaderButtons extends HeaderButtons {
|
||||||
} else if (payload.action === "view_group") {
|
} else if (payload.action === "view_group") {
|
||||||
this.setPhase(RightPanel.Phase.GroupMemberList);
|
this.setPhase(RightPanel.Phase.GroupMemberList);
|
||||||
} else if (payload.action === "view_group_room") {
|
} else if (payload.action === "view_group_room") {
|
||||||
this.setPhase(RightPanel.Phase.GroupRoomInfo, {groupRoomId: payload.groupRoomId});
|
this.setPhase(RightPanel.Phase.GroupRoomInfo, {groupRoomId: payload.groupRoomId, groupId: payload.groupId});
|
||||||
} else if (payload.action === "view_group_room_list") {
|
} else if (payload.action === "view_group_room_list") {
|
||||||
this.setPhase(RightPanel.Phase.GroupRoomList);
|
this.setPhase(RightPanel.Phase.GroupRoomList);
|
||||||
} else if (payload.action === "view_group_member_list") {
|
} else if (payload.action === "view_group_member_list") {
|
||||||
|
|
Loading…
Reference in a new issue