Merge pull request #2609 from BigRoy/switch_dialog_bug

Scene Inventory: Fix type name for 'representation' in switch logic
This commit is contained in:
Jakub Trllo 2022-01-31 14:40:18 +01:00 committed by GitHub
commit 602e7e04e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -558,7 +558,7 @@ class SwitchAssetDialog(QtWidgets.QDialog):
repre_docs = io.find(
{
"type": "rerpesentation",
"type": "representation",
"parent": subset_doc["_id"],
"name": {"$in": list(repre_names)}
},