diff --git a/src/automation/AutomationEditor.vue b/src/automation/AutomationEditor.vue index 611cb3b..36d923d 100644 --- a/src/automation/AutomationEditor.vue +++ b/src/automation/AutomationEditor.vue @@ -68,7 +68,7 @@ p.id === id) ?? null; } diff --git a/src/automation/automation.libraryItem.ts b/src/automation/automation.libraryItem.ts index 332ecd2..58587d4 100644 --- a/src/automation/automation.libraryItem.ts +++ b/src/automation/automation.libraryItem.ts @@ -42,6 +42,11 @@ export class AutomationLibraryItem extends LibraryItem p.id !== id); + this.events.pointsUpdated.emit(); + } + public sortPoints() { this.points.sort((a, b) => a.unit - b.unit); }