mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-25 08:00:59 +00:00
improve schema form to handle empty schemas
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
loadResourceTypes()
|
||||
|
||||
function reorder() {
|
||||
if (schema.order && Array.isArray(schema.order)) {
|
||||
if (schema?.order && Array.isArray(schema.order)) {
|
||||
const n = {}
|
||||
|
||||
;(schema.order as string[]).forEach((x) => {
|
||||
|
||||
Reference in New Issue
Block a user