ianedwards 2 лет назад
Родитель
Сommit
0f21f87f1c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      dashboard/src/lib/porter-apps/index.ts

+ 1 - 1
dashboard/src/lib/porter-apps/index.ts

@@ -91,7 +91,7 @@ export const porterAppFormValidator = z
   })
   .refine(
     ({ app, source }) => {
-      if (source.type === "docker-registry" || app.build.method === "pack") {
+      if (source.type !== "docker-registry" && app.build.method === "pack") {
         return app.services.every((svc) => svc.run.value.length > 0);
       }