瀏覽代碼

Fix repo casing for re run workflow

jnfrati 4 年之前
父節點
當前提交
c51c076f32
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      dashboard/src/main/home/cluster-dashboard/expanded-chart/BuildSettingsTab.tsx

+ 2 - 2
dashboard/src/main/home/cluster-dashboard/expanded-chart/BuildSettingsTab.tsx

@@ -127,8 +127,8 @@ const BuildSettingsTab: React.FC<Props> = ({ chart }) => {
           project_id: currentProject.id,
           cluster_id: currentCluster.id,
           git_installation_id: chart.git_action_config?.git_repo_id,
-          owner: chart.git_action_config.repo?.split("/")[0],
-          name: chart.git_action_config.repo?.split("/")[1],
+          owner: chart.git_action_config?.git_repo?.split("/")[0],
+          name: chart.git_action_config?.git_repo?.split("/")[1],
           filename: `porter_${chart.name.replaceAll("-", "_")}.yaml`,
         }
       );