소스 검색

Merge pull request #2239 from porter-dev/nico/por-517-redirect-with-chosen-namespace-after

[POR-517] Redirect with chosen namespace after creating release
abelanger5 3 년 전
부모
커밋
21b2638506
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      dashboard/src/main/home/launch/launch-flow/LaunchFlow.tsx

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

@@ -189,6 +189,7 @@ const LaunchFlow: React.FC<PropsType> = (props) => {
     setTimeout(() => {
     setTimeout(() => {
       pushFiltered(props, dst, ["project_id"], {
       pushFiltered(props, dst, ["project_id"], {
         cluster: currentCluster.name,
         cluster: currentCluster.name,
+        namespace: selectedNamespace,
       });
       });
     }, 500);
     }, 500);
   };
   };
@@ -355,6 +356,7 @@ const LaunchFlow: React.FC<PropsType> = (props) => {
         props.currentTemplate.name === "job" ? "/jobs" : "/applications";
         props.currentTemplate.name === "job" ? "/jobs" : "/applications";
       pushFiltered(props, dst, ["project_id"], {
       pushFiltered(props, dst, ["project_id"], {
         cluster: currentCluster.name,
         cluster: currentCluster.name,
+        namespace: selectedNamespace,
       });
       });
     }, 1000);
     }, 1000);
   };
   };