selectionParentRoom setting mechanism fix
This commit is contained in:
parent
be3bb23144
commit
946c4a8408
@ -166,7 +166,7 @@ const InfoPanelBodyContent = ({
|
||||
// Updating selectionParentRoom after selectFolder change
|
||||
// if it is located in another room
|
||||
useEffect(async () => {
|
||||
if (isGallery || isAccounts) return;
|
||||
if (!isRooms) return;
|
||||
|
||||
const currentFolderRoomId = selectedFolder.pathParts[1];
|
||||
const storeRoomId = selectionParentRoom?.id;
|
||||
|
Loading…
Reference in New Issue
Block a user