PR feedback
This commit is contained in:
parent
de76c61db2
commit
8e0f422ffe
|
@ -31,7 +31,7 @@
|
||||||
})
|
})
|
||||||
|
|
||||||
$: groupedAutomations = filteredAutomations.reduce((acc, auto) => {
|
$: 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,
|
icon: auto.definition.trigger.icon,
|
||||||
name: (auto.definition.trigger?.name || "").toUpperCase(),
|
name: (auto.definition.trigger?.name || "").toUpperCase(),
|
||||||
entries: [],
|
entries: [],
|
||||||
|
|
Loading…
Reference in New Issue