Fix Bug 67376

When you call the Info of a folder via Actions, the Members tab opens inside the folder
This commit is contained in:
Viktor Fomin 2024-04-11 11:02:18 +03:00
parent fc47b29fd9
commit 3453476679

View File

@ -111,8 +111,9 @@ class InfoPanelStore {
setIsVisible = (bool) => {
if (
this.infoPanelSelectedItems.length &&
!this.infoPanelSelectedItems[0]?.isRoom
(this.infoPanelSelectedItems.length &&
!this.infoPanelSelectedItems[0]?.isRoom) ||
(this.selectedFolderStore && !this.selectedFolderStore?.inRoom)
) {
this.setView(infoDetails);
} else {