Remove space-specific right panel store handling
This is no longer needed as the right panel always corresponds to the currently viewed room/space only. Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
a2a066d8b4
commit
3f221891f7
21 changed files with 53 additions and 83 deletions
|
@ -91,7 +91,7 @@ describe("RightPanel", () => {
|
|||
if (name !== "RightPanel.phases") return realGetValue(name, roomId);
|
||||
if (roomId === "r1") {
|
||||
return {
|
||||
history: [{ phase: RightPanelPhases.RoomMemberList }],
|
||||
history: [{ phase: RightPanelPhases.MemberList }],
|
||||
isOpen: true,
|
||||
};
|
||||
}
|
||||
|
@ -123,7 +123,7 @@ describe("RightPanel", () => {
|
|||
await rpsUpdated;
|
||||
await waitFor(() => expect(screen.queryByTestId("spinner")).not.toBeInTheDocument());
|
||||
|
||||
// room one will be in the RoomMemberList phase - confirm this is rendered
|
||||
// room one will be in the MemberList phase - confirm this is rendered
|
||||
expect(container.getElementsByClassName("mx_MemberList")).toHaveLength(1);
|
||||
|
||||
// wait for RPS room 2 updates to fire, then rerender
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue