mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 22:02:15 +01:00
store environment metadata only if raw json is marked for environment variables
This commit is contained in:
parent
0e00e93d17
commit
72c6a4c847
1 changed files with 5 additions and 4 deletions
|
|
@ -1329,11 +1329,12 @@ class RawJsonWidget(QtWidgets.QWidget, InputObject):
|
|||
|
||||
def config_value(self):
|
||||
value = self.item_value()
|
||||
value[METADATA_KEY] = {
|
||||
"environments": {
|
||||
self.env_group_key: list(value.keys())
|
||||
if self.is_environ:
|
||||
value[METADATA_KEY] = {
|
||||
"environments": {
|
||||
self.env_group_key: list(value.keys())
|
||||
}
|
||||
}
|
||||
}
|
||||
return {self.key: value}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue