mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix a crash in trace graph generation for if/else (#18390)
This commit is contained in:
parent
33e0c691c7
commit
464ecffda7
@ -298,7 +298,7 @@ export class HatScriptGraph extends LitElement {
|
||||
.notEnabled=${disabled || config.enabled === false}
|
||||
nofocus
|
||||
></hat-graph-node>
|
||||
${ensureArray(config.then).map((action, j) =>
|
||||
${ensureArray(config.then ?? []).map((action, j) =>
|
||||
this.render_action_node(
|
||||
action,
|
||||
`${path}/then/${j}`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user