Fix key to match SetRightPanelPhasePayload's key

member -> members
This commit is contained in:
Swapnil Raj 2020-07-18 17:15:12 +05:30
parent 23e4b67a69
commit 887d507772

View file

@ -45,7 +45,7 @@ export default class RoomHeaderButtons extends HeaderButtons {
super.onAction(payload); super.onAction(payload);
if (payload.action === Action.ViewUser) { if (payload.action === Action.ViewUser) {
if (payload.member) { if (payload.member) {
this.setPhase(RightPanelPhases.RoomMemberInfo, {member: payload.member}); this.setPhase(RightPanelPhases.RoomMemberInfo, {members: payload.member});
} else { } else {
this.setPhase(RightPanelPhases.RoomMemberList); this.setPhase(RightPanelPhases.RoomMemberList);
} }