From e3c51128996c344a1e71ae79599268d0d6ab4a01 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Mon, 26 Feb 2024 10:50:19 -0300 Subject: [PATCH] Update success message in flowStore.ts --- src/frontend/src/stores/flowStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/stores/flowStore.ts b/src/frontend/src/stores/flowStore.ts index 83dabd3fd..f9fa0197b 100644 --- a/src/frontend/src/stores/flowStore.ts +++ b/src/frontend/src/stores/flowStore.ts @@ -401,7 +401,7 @@ const useFlowStore = create((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` }); }