diff --git a/frontend/src/lib/components/EditorBar.svelte b/frontend/src/lib/components/EditorBar.svelte index 23bec9c76c..0752b2acbe 100644 --- a/frontend/src/lib/components/EditorBar.svelte +++ b/frontend/src/lib/components/EditorBar.svelte @@ -86,6 +86,10 @@ iconOnly?: boolean compactHelpers?: boolean validCode?: boolean + // Asset-parse validity, when the context cares about it (pipeline + // editor). `undefined` = not applicable; `false` makes the badge red + // even if the main function parses. + validAssets?: boolean | undefined kind?: 'script' | 'trigger' | 'approval' template?: | 'pgsql' @@ -122,6 +126,7 @@ iconOnly = false, compactHelpers = false, validCode = true, + validAssets = undefined, kind = 'script', template = 'script', collabMode = false, @@ -945,8 +950,14 @@ JsonNode ${windmillPathToCamelCaseName(path)} = JsonNode.Parse(await client.GetS