mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-06 00:02:13 +00:00
fix: prevent error if json editor not mounted (#1945)
This commit is contained in:
@@ -102,7 +102,9 @@
|
||||
}
|
||||
schema = schema
|
||||
schemaString = JSON.stringify(schema, null, '\t')
|
||||
jsonEditor.setCode(schemaString)
|
||||
if (jsonEditor) {
|
||||
jsonEditor.setCode(schemaString)
|
||||
}
|
||||
dispatch('change', schema)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user