Don't hide room header buttons in video rooms and rooms with a call (#9712)

* Don't hide room header buttons in video rooms and rooms with a call

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix types

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Attempt to fix types 2

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Delint

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Update test case

---------

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Šimon Brandner
2023-07-21 10:33:37 +00:00
committed by GitHub
co-authored by Michael Telatynski
parent 0b0d77cbcc
commit 3b0ed17241
2 changed files with 3 additions and 13 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ describe("Room Header", () => {
}
// Assert that there is not a button except those buttons
cy.findAllByRole("button").should("have.length", 5);
cy.findAllByRole("button").should("have.length", 7);
});
cy.get(".mx_RoomHeader").percySnapshotElement("Room header - with a video room");