Просмотр исходного кода

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 лет назад
Родитель
Сommit
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(() => {
       pushFiltered(props, dst, ["project_id"], {
         cluster: currentCluster.name,
+        namespace: selectedNamespace,
       });
     }, 500);
   };
@@ -355,6 +356,7 @@ const LaunchFlow: React.FC<PropsType> = (props) => {
         props.currentTemplate.name === "job" ? "/jobs" : "/applications";
       pushFiltered(props, dst, ["project_id"], {
         cluster: currentCluster.name,
+        namespace: selectedNamespace,
       });
     }, 1000);
   };