From eb72199808234053edc9b20e9389a0af4e3aa1ad Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 8 Feb 2022 17:29:25 +0000 Subject: [PATCH] [Release] Fix space member list not opening (#7755) Co-authored-by: Charlie Calendre <57274151+c-cal@users.noreply.github.com> --- src/components/structures/SpaceRoomView.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/structures/SpaceRoomView.tsx b/src/components/structures/SpaceRoomView.tsx index e13eb635be..b1ec4dd8fe 100644 --- a/src/components/structures/SpaceRoomView.tsx +++ b/src/components/structures/SpaceRoomView.tsx @@ -163,10 +163,7 @@ const SpaceInfo = ({ space }: { space: Room }) => { kind="link" className="mx_SpaceRoomView_info_memberCount" onClick={() => { - RightPanelStore.instance.setCard({ - phase: RightPanelPhases.RoomMemberList, - state: { spaceId: space.roomId }, - }); + RightPanelStore.instance.setCard({ phase: RightPanelPhases.SpaceMemberList }); }} > { _t("%(count)s members", { count }) }