Skip to content

Commit

Permalink
set description during copy action
Browse files Browse the repository at this point in the history
  • Loading branch information
kurund committed Nov 19, 2024
1 parent 52ec95e commit c450524
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/containers/Flow/Flow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c450524

Please sign in to comment.