Add setNoticeData to useFlowStore
This commit is contained in:
parent
5edcf56bfe
commit
2435c8dfa9
1 changed files with 2 additions and 0 deletions
|
|
@ -355,6 +355,7 @@ const useFlowStore = create<FlowStoreType>((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<FlowStoreType>((set, get) => ({
|
|||
name: currentFlow!.name,
|
||||
description: currentFlow!.description,
|
||||
});
|
||||
setNoticeData({ title: "Running components" });
|
||||
return buildVertices({
|
||||
flowId: currentFlow!.id,
|
||||
nodeId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue