Fix Bug 64995 - Rooms. ‘Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'id')’
This commit is contained in:
parent
43eedfe0e6
commit
8df8decc0e
@ -191,7 +191,7 @@ class InfoPanelStore {
|
|||||||
|
|
||||||
const currentFolderRoomId =
|
const currentFolderRoomId =
|
||||||
this.selectedFolderStore.pathParts &&
|
this.selectedFolderStore.pathParts &&
|
||||||
this.selectedFolderStore.pathParts[1].id;
|
this.selectedFolderStore.pathParts[1]?.id;
|
||||||
const prevRoomId = this.selectionParentRoom?.id;
|
const prevRoomId = this.selectionParentRoom?.id;
|
||||||
|
|
||||||
if (!currentFolderRoomId || currentFolderRoomId === prevRoomId) return;
|
if (!currentFolderRoomId || currentFolderRoomId === prevRoomId) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user