Web: Files: fixed info-panel for media files
This commit is contained in:
parent
abf6b1b5e0
commit
ca0605f1ff
@ -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
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user