From 2435c8dfa9167fe6732d8d272552fa52ee4a8ed8 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Mon, 19 Feb 2024 11:43:24 -0300 Subject: [PATCH] Add setNoticeData to useFlowStore --- src/frontend/src/stores/flowStore.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/src/stores/flowStore.ts b/src/frontend/src/stores/flowStore.ts index 473c615b1..0bf2a1d2c 100644 --- a/src/frontend/src/stores/flowStore.ts +++ b/src/frontend/src/stores/flowStore.ts @@ -355,6 +355,7 @@ const useFlowStore = create((set, get) => ({ const currentFlow = useFlowsManagerStore.getState().currentFlow; const setSuccessData = useAlertStore.getState().setSuccessData; const setErrorData = useAlertStore.getState().setErrorData; + const setNoticeData = useAlertStore.getState().setNoticeData; function handleBuildUpdate(data: any) { get().addDataToFlowPool(data.data[data.id], data.id); } @@ -368,6 +369,7 @@ const useFlowStore = create((set, get) => ({ name: currentFlow!.name, description: currentFlow!.description, }); + setNoticeData({ title: "Running components" }); return buildVertices({ flowId: currentFlow!.id, nodeId,