Răsfoiți Sursa

add question mark lol

Feroze Mohideen 3 ani în urmă
părinte
comite
dabf4fea25

+ 1 - 1
dashboard/src/main/home/app-dashboard/new-app-flow/NewAppFlow.tsx

@@ -273,7 +273,7 @@ const NewAppFlow: React.FC<Props> = ({ ...props }) => {
   const createFinalPorterYaml = (): z.infer<typeof PorterYamlSchema> => {
     return {
       version: "v1stack",
-      env: combineEnv(formState.envVariables, porterJson.env),
+      env: combineEnv(formState.envVariables, porterJson?.env),
       apps: createApps(formState.serviceList),
     };
   };