Client:Store:SelectedFolderStore: fix inRoom

This commit is contained in:
Timofey Boyko 2024-07-15 20:32:57 +03:00
parent c4e515d99d
commit 44f478c6d1

View File

@ -352,7 +352,9 @@ class SelectedFolderStore {
});
}
this.setInRoom(!!selectedFolder?.parentId);
selectedFolder?.pathParts?.forEach((value) => {
if (value.roomType) this.setInRoom(true);
});
};
}