Explorar el Código

Merge pull request #1604 from porter-dev/fix/launch-flow-read-include-from-null

Fix launch flow "Cannot read properties of null"
Nicolas Frati hace 4 años
padre
commit
c29c60c697
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      dashboard/src/main/home/launch/launch-flow/LaunchFlow.tsx

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

@@ -170,7 +170,7 @@ const LaunchFlow: React.FC<PropsType> = (props) => {
       tag = props.clonedChart.config.image.tag;
     }
 
-    if (url.includes(":")) {
+    if (url?.includes(":")) {
       let splits = url.split(":");
       url = splits[0];
       tag = splits[1];