Update success message in flowStore.ts
This commit is contained in:
parent
951384284d
commit
e3c5112899
1 changed files with 1 additions and 1 deletions
|
|
@ -401,7 +401,7 @@ const useFlowStore = create<FlowStoreType>((set, get) => ({
|
|||
nodeId,
|
||||
onBuildComplete: () => {
|
||||
if (nodeId) {
|
||||
setSuccessData({ title: `${nodeId} built successfully` });
|
||||
setSuccessData({ title: `${get().nodes.find((node) => node.id === nodeId)?.data.node?.display_name} built successfully` });
|
||||
} else {
|
||||
setSuccessData({ title: `Flow built successfully` });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue