PR feedback

This commit is contained in:
Dean 2024-07-11 09:34:11 +01:00
parent de76c61db2
commit 8e0f422ffe
1 changed files with 1 additions and 1 deletions

View File

@ -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: [],