diff --git a/packages/builder/src/components/automation/AutomationPanel/AutomationPanel.svelte b/packages/builder/src/components/automation/AutomationPanel/AutomationPanel.svelte index 110526890b..b5fe6d03fd 100644 --- a/packages/builder/src/components/automation/AutomationPanel/AutomationPanel.svelte +++ b/packages/builder/src/components/automation/AutomationPanel/AutomationPanel.svelte @@ -31,7 +31,7 @@ }) $: groupedAutomations = filteredAutomations.reduce((acc, auto) => { - acc[auto.definition.trigger.event] = acc[auto.definition.trigger.event] || { + acc[auto.definition.trigger.event] ??= { icon: auto.definition.trigger.icon, name: (auto.definition.trigger?.name || "").toUpperCase(), entries: [],