delete auto

This commit is contained in:
ari committed 2022-07-28 17:59:00 -04:00
1 parent 3f0430ab37
commit 473684efa6
4 files changed
+32 -4

No files matched your search

@@ -59,6 +59,13 @@ export const AutomationManager: FC<AutomationManagerProps> = ({
auto,
})
}
onAutomationDelete={(aid) =>
api.removeAutomation({
index: configAutomations.data.findIndex(
({ metadata }) => metadata.id === aid
),
})
}
onUpdateTags={async (aid, t) => {
setIsSaving(true);
await api.updateTags({