Parcourir la source

Added casing for generating name

jnfrati il y a 5 ans
Parent
commit
4bd1354a52
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      dashboard/src/main/home/launch/launch-flow/LaunchFlow.tsx

+ 1 - 1
dashboard/src/main/home/launch/launch-flow/LaunchFlow.tsx

@@ -339,7 +339,7 @@ const LaunchFlow: React.FC<PropsType> = (props) => {
       );
     }
 
-    if (!templateName && !props.isCloning) {
+    if (!templateName && !props.isCloning && currentTab === "porter") {
       const newTemplateName = generateRandomName();
       setTemplateName(newTemplateName);
     }