From c450524b4c3b8c06973c87a4a68636e46446b18b Mon Sep 17 00:00:00 2001 From: Kurund Jalmi Date: Tue, 19 Nov 2024 20:55:01 +0000 Subject: [PATCH] set description during copy action --- src/containers/Flow/Flow.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/containers/Flow/Flow.tsx b/src/containers/Flow/Flow.tsx index 952f379c0..b11205a3b 100644 --- a/src/containers/Flow/Flow.tsx +++ b/src/containers/Flow/Flow.tsx @@ -106,10 +106,11 @@ export const Flow = () => { if (location.state === 'copy') { fieldName = `Copy of ${nameValue}`; fieldKeywords = ''; + description = `Copy of ${nameValue}`; setCopyFlowTitle(nameValue); } else if (location.state === 'copyTemplate') { fieldName = ''; - description = ''; + description = `Copy of ${nameValue}`; tags = null; fieldKeywords = ''; setCopyFlowTitle(nameValue);