mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fix path calculated from hierarchy item
This commit is contained in:
parent
4a4dde620b
commit
1027a41e8a
1 changed files with 2 additions and 2 deletions
|
|
@ -191,12 +191,12 @@ def _get_folder_item_from_hierarchy_item(item):
|
|||
name = item["name"]
|
||||
path_parts = list(item["parents"])
|
||||
path_parts.append(name)
|
||||
|
||||
path = "/" + "/".join(path_parts)
|
||||
return FolderItem(
|
||||
item["id"],
|
||||
item["parentId"],
|
||||
name,
|
||||
"/".join(path_parts),
|
||||
path,
|
||||
item["folderType"],
|
||||
item["label"],
|
||||
None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue