mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
reverse project 'archive' to 'active'
This commit is contained in:
parent
453a813ec1
commit
b0d166fe09
8 changed files with 23 additions and 24 deletions
|
|
@ -275,7 +275,7 @@ class AssetWidget(QtWidgets.QWidget):
|
|||
project_names = list()
|
||||
|
||||
for doc in self.dbcon.projects(projection={"name": 1},
|
||||
no_archived=True):
|
||||
only_active=True):
|
||||
|
||||
project_name = doc.get("name")
|
||||
if project_name:
|
||||
|
|
@ -304,7 +304,7 @@ class AssetWidget(QtWidgets.QWidget):
|
|||
projects = list()
|
||||
|
||||
for project in self.dbcon.projects(projection={"name": 1},
|
||||
no_archived=True):
|
||||
only_active=True):
|
||||
projects.append(project['name'])
|
||||
project_name = self.combo_projects.currentText()
|
||||
if project_name in projects:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue