Fix key to match SetRightPanelPhasePayload's key
member -> members
This commit is contained in:
parent
23e4b67a69
commit
887d507772
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue