2
0
jnfrati 4 жил өмнө
parent
commit
5aef0739f4

+ 5 - 3
dashboard/src/main/home/cluster-dashboard/expanded-chart/SettingsSection.tsx

@@ -281,7 +281,7 @@ const SettingsSection: React.FC<PropsType> = ({
   };
   };
 
 
   const chartWasDeployedWithGithub = () => {
   const chartWasDeployedWithGithub = () => {
-    if (currentChart.git_action_config || currentChart.image_repo_uri) {
+    if (currentChart.git_action_config) {
       return true;
       return true;
     }
     }
     return false;
     return false;
@@ -353,8 +353,10 @@ const Button = styled.button`
 `;
 `;
 
 
 const CloneButton = styled(Button)`
 const CloneButton = styled(Button)`
-  display: block;
-
+  display: flex;
+  width: min-content;
+  align-items: center;
+  justify-content: center;
   background-color: #ffffff11;
   background-color: #ffffff11;
   :hover {
   :hover {
     background-color: #ffffff18;
     background-color: #ffffff18;

+ 1 - 1
dashboard/src/main/home/launch/Launch.tsx

@@ -118,7 +118,7 @@ class Templates extends Component<PropsType, StateType> {
         const release = await this.getClonedRelease().then((res) => res.data);
         const release = await this.getClonedRelease().then((res) => res.data);
         form = release.form;
         form = release.form;
         clonedChart = release;
         clonedChart = release;
-        if (release.git_action_config || release.image_repo_uri) {
+        if (release.git_action_config) {
           this.context.setCurrentError(
           this.context.setCurrentError(
             "Application/Jobs deployed with GitHub are not supported for cloning yet!"
             "Application/Jobs deployed with GitHub are not supported for cloning yet!"
           );
           );