mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
environments metadata are added in config_value not in item_value
This commit is contained in:
parent
ce176c2732
commit
91fd006630
1 changed files with 8 additions and 6 deletions
|
|
@ -1302,14 +1302,16 @@ class RawJsonWidget(QtWidgets.QWidget, InputObject):
|
|||
output = {}
|
||||
for key, value in value.items():
|
||||
output[key.upper()] = value
|
||||
|
||||
output[METADATA_KEY] = {
|
||||
"environments": {
|
||||
self.env_group_key: list(output.keys())
|
||||
}
|
||||
}
|
||||
return output
|
||||
|
||||
def config_value(self):
|
||||
value = self.item_value()
|
||||
value[METADATA_KEY] = {
|
||||
"environments": {
|
||||
self.env_group_key: list(value.keys())
|
||||
}
|
||||
}
|
||||
return {self.key: value}
|
||||
|
||||
class ListItem(QtWidgets.QWidget, SettingObject):
|
||||
_btn_size = 20
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue