mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
instance has group_label attribute which can be used in UI
This commit is contained in:
parent
43424e0fa9
commit
cf23aad3cf
1 changed files with 7 additions and 0 deletions
|
|
@ -503,6 +503,13 @@ class CreatedInstance:
|
|||
label = self.subset_name
|
||||
return label
|
||||
|
||||
@property
|
||||
def group_label(self):
|
||||
label = self._data.get("group_label")
|
||||
if label:
|
||||
return label
|
||||
return self.creator.get_group_label()
|
||||
|
||||
@property
|
||||
def creator_identifier(self):
|
||||
return self.creator.identifier
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue