Soham Dessai 3 лет назад
Родитель
Сommit
252850ec1a
1 измененных файлов с 2 добавлено и 5 удалено
  1. 2 5
      dashboard/src/main/home/app-dashboard/new-app-flow/WebTabs.tsx

+ 2 - 5
dashboard/src/main/home/app-dashboard/new-app-flow/WebTabs.tsx

@@ -686,6 +686,7 @@ const WebTabs: React.FC<Props> = ({ service, editService, setHeight }) => {
           }}
           }}
           disabledTooltip={"You may only edit this field in your porter.yaml."}
           disabledTooltip={"You may only edit this field in your porter.yaml."}
         />
         />
+        {renderHealth()}
       </>
       </>
     );
     );
   };
   };
@@ -696,7 +697,6 @@ const WebTabs: React.FC<Props> = ({ service, editService, setHeight }) => {
           { label: "Main", value: "main" },
           { label: "Main", value: "main" },
           { label: "Resources", value: "resources" },
           { label: "Resources", value: "resources" },
           { label: "Advanced", value: "advanced" },
           { label: "Advanced", value: "advanced" },
-          { label: "Health", value: "health" },
         ]}
         ]}
         currentTab={currentTab}
         currentTab={currentTab}
         setCurrentTab={(value: string) => {
         setCurrentTab={(value: string) => {
@@ -705,9 +705,7 @@ const WebTabs: React.FC<Props> = ({ service, editService, setHeight }) => {
           } else if (value === "resources") {
           } else if (value === "resources") {
             setHeight(713);
             setHeight(713);
           } else if (value === "advanced") {
           } else if (value === "advanced") {
-            setHeight(159);
-          } else if (value === "health") {
-            setHeight(425);
+            setHeight(510);
           }
           }
           setCurrentTab(value);
           setCurrentTab(value);
         }}
         }}
@@ -715,7 +713,6 @@ const WebTabs: React.FC<Props> = ({ service, editService, setHeight }) => {
       {currentTab === "main" && renderMain()}
       {currentTab === "main" && renderMain()}
       {currentTab === "resources" && renderResources()}
       {currentTab === "resources" && renderResources()}
       {currentTab === "advanced" && renderAdvanced()}
       {currentTab === "advanced" && renderAdvanced()}
-      {currentTab === "health" && renderHealth()}
     </>
     </>
   );
   );
 };
 };