2
0
Эх сурвалжийг харах

add helm tabs regardless of build (#3799)

Co-authored-by: David Townley <davidtownley@Davids-MacBook-Air.local>
d-g-town 2 жил өмнө
parent
commit
0cfdbafa39

+ 5 - 6
dashboard/src/main/home/app-dashboard/app-view/AppDataContainer.tsx

@@ -407,14 +407,13 @@ const AppDataContainer: React.FC<AppDataContainerProps> = ({ tabParam }) => {
         label: "Build Settings",
         value: "build-settings",
       });
-      base.push({ label: "Settings", value: "settings" });
-      return base;
+    } else {
+      base.push({
+        label: "Image Settings",
+        value: "image-settings",
+      });
     }
 
-    base.push({
-      label: "Image Settings",
-      value: "image-settings",
-    });
     {(currentProject?.helm_values_enabled || user?.isPorterUser) &&
       base.push({ label: "Helm Overrides", value: "helm-overrides" });
     }