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,
|
nodeId,
|
||||||
onBuildComplete: () => {
|
onBuildComplete: () => {
|
||||||
if (nodeId) {
|
if (nodeId) {
|
||||||
setSuccessData({ title: `${nodeId} built successfully` });
|
setSuccessData({ title: `${get().nodes.find((node) => node.id === nodeId)?.data.node?.display_name} built successfully` });
|
||||||
} else {
|
} else {
|
||||||
setSuccessData({ title: `Flow built successfully` });
|
setSuccessData({ title: `Flow built successfully` });
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue