Преглед изворни кода

add helm tabs regardless of build (#3799)

Co-authored-by: David Townley <davidtownley@Davids-MacBook-Air.local>
d-g-town пре 2 година
родитељ
комит
0cfdbafa39
1 измењених фајлова са 5 додато и 6 уклоњено
  1. 5 6
      dashboard/src/main/home/app-dashboard/app-view/AppDataContainer.tsx

+ 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" });
     }