[Release] Fix space member list not opening (#7755)

Co-authored-by: Charlie Calendre <57274151+c-cal@users.noreply.github.com>
This commit is contained in:
Michael Telatynski 2022-02-08 17:29:25 +00:00 committed by GitHub
parent 4c3c20ae62
commit eb72199808
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,10 +163,7 @@ const SpaceInfo = ({ space }: { space: Room }) => {
kind="link" kind="link"
className="mx_SpaceRoomView_info_memberCount" className="mx_SpaceRoomView_info_memberCount"
onClick={() => { onClick={() => {
RightPanelStore.instance.setCard({ RightPanelStore.instance.setCard({ phase: RightPanelPhases.SpaceMemberList });
phase: RightPanelPhases.RoomMemberList,
state: { spaceId: space.roomId },
});
}} }}
> >
{ _t("%(count)s members", { count }) } { _t("%(count)s members", { count }) }