mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
fix typo
Thanks @BigRoy
This commit is contained in:
parent
f7ea4a354b
commit
1cdde6d777
1 changed files with 2 additions and 2 deletions
|
|
@ -277,7 +277,7 @@ class ProductTypeIconMapping:
|
||||||
return self._definitions_by_name
|
return self._definitions_by_name
|
||||||
|
|
||||||
|
|
||||||
def _get_project_items_from_entitiy(
|
def _get_project_items_from_entity(
|
||||||
projects: list[dict[str, Any]]
|
projects: list[dict[str, Any]]
|
||||||
) -> list[ProjectItem]:
|
) -> list[ProjectItem]:
|
||||||
"""
|
"""
|
||||||
|
|
@ -575,7 +575,7 @@ class ProjectsModel(object):
|
||||||
.get("pinnedProjects")
|
.get("pinnedProjects")
|
||||||
) or []
|
) or []
|
||||||
pinned_projects = set(pinned_projects)
|
pinned_projects = set(pinned_projects)
|
||||||
project_items = _get_project_items_from_entitiy(list(projects))
|
project_items = _get_project_items_from_entity(list(projects))
|
||||||
for project in project_items:
|
for project in project_items:
|
||||||
project.is_pinned = project.name in pinned_projects
|
project.is_pinned = project.name in pinned_projects
|
||||||
return project_items
|
return project_items
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue