mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix 'representations' -> 'representation'
This commit is contained in:
parent
3a6e993158
commit
15a3f9d29a
3 changed files with 3 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ class CopyFileActionPlugin(LoaderActionPlugin):
|
|||
self, selection: LoaderActionSelection
|
||||
) -> list[LoaderActionItem]:
|
||||
repres = []
|
||||
if selection.selected_type == "representations":
|
||||
if selection.selected_type == "representation":
|
||||
repres = selection.entities.get_representations(
|
||||
selection.selected_ids
|
||||
)
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ class DeliveryAction(LoaderActionPlugin):
|
|||
return []
|
||||
|
||||
version_ids = set()
|
||||
if selection.selected_type == "representations":
|
||||
if selection.selected_type == "representation":
|
||||
versions = selection.entities.get_representations_versions(
|
||||
selection.selected_ids
|
||||
)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ class OpenFileAction(LoaderActionPlugin):
|
|||
self, selection: LoaderActionSelection
|
||||
) -> list[LoaderActionItem]:
|
||||
repres = []
|
||||
if selection.selected_type == "representations":
|
||||
if selection.selected_type == "representation":
|
||||
repres = selection.entities.get_representations(
|
||||
selection.selected_ids
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue