diff --git a/packages/client/src/store/InfoPanelStore.js b/packages/client/src/store/InfoPanelStore.js index bd1b85e9af..800e578385 100644 --- a/packages/client/src/store/InfoPanelStore.js +++ b/packages/client/src/store/InfoPanelStore.js @@ -198,8 +198,11 @@ class InfoPanelStore { getViewItem = () => { const isRooms = this.getIsRooms(); + const pathname = window.location.pathname.toLowerCase(); + const isMedia = pathname.indexOf("view") !== -1; + if ( - isRooms && + (isRooms || isMedia) && this.roomsView === infoMembers && !this.infoPanelSelectedItems[0]?.isRoom ) {