trigger automation in metadata
This commit is contained in:
1 parent
ab7f50d4aa
commit
f1b99cad1c
11 files changed
+36
-10
No files matched your search
@@ -32,6 +32,7 @@ export const AutomationManagerLoaded: FC<
|
||||
state.setSelectedAutomationId(null);
|
||||
}}
|
||||
onAutomationUpdate={state.sideBarUpdateAutomation}
|
||||
onRun={args.onAutomationRun}
|
||||
/>
|
||||
<div className={["automation-manager--editor"].join(" ")}>
|
||||
{state.currentAutomationId !== null ? (
|
||||
|
||||
@@ -15,6 +15,7 @@ export type UseAutomationManagerStateArgs = {
|
||||
onAutomationAdd: (auto: AutomationData) => void;
|
||||
onAutomationUpdate: (aid: string, auto: AutomationData) => void;
|
||||
onAutomationStateChange: (eid: string, on: boolean) => void;
|
||||
onAutomationRun: (eid: string) => void;
|
||||
};
|
||||
export const useAutomationManagerState = ({
|
||||
configAutomations,
|
||||
|
||||
Reference in new issue
Block a user