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

fixed template upgrade overlay

jusrhee 4 лет назад
Родитель
Сommit
4a6271e424
1 измененных файлов с 19 добавлено и 20 удалено
  1. 19 20
      dashboard/src/main/home/cluster-dashboard/expanded-chart/ExpandedChart.tsx

+ 19 - 20
dashboard/src/main/home/cluster-dashboard/expanded-chart/ExpandedChart.tsx

@@ -693,27 +693,26 @@ const ExpandedChart: React.FC<Props> = (props) => {
               {" " + getReadableDate(currentChart.info.last_deployed)}
               {" " + getReadableDate(currentChart.info.last_deployed)}
             </LastDeployed>
             </LastDeployed>
           </InfoWrapper>
           </InfoWrapper>
-
-          <RevisionSection
-            showRevisions={showRevisions}
-            toggleShowRevisions={() => {
-              setShowRevisions(!showRevisions);
-            }}
-            chart={currentChart}
-            refreshChart={() => getChartData(currentChart)}
-            setRevision={setRevision}
-            forceRefreshRevisions={forceRefreshRevisions}
-            refreshRevisionsOff={() => setForceRefreshRevisions(false)}
-            status={chartStatus}
-            shouldUpdate={
-              currentChart.latest_version &&
-              currentChart.latest_version !==
-                currentChart.chart.metadata.version
-            }
-            latestVersion={currentChart.latest_version}
-            upgradeVersion={handleUpgradeVersion}
-          />
         </HeaderWrapper>
         </HeaderWrapper>
+        <RevisionSection
+          showRevisions={showRevisions}
+          toggleShowRevisions={() => {
+            setShowRevisions(!showRevisions);
+          }}
+          chart={currentChart}
+          refreshChart={() => getChartData(currentChart)}
+          setRevision={setRevision}
+          forceRefreshRevisions={forceRefreshRevisions}
+          refreshRevisionsOff={() => setForceRefreshRevisions(false)}
+          status={chartStatus}
+          shouldUpdate={
+            currentChart.latest_version &&
+            currentChart.latest_version !==
+              currentChart.chart.metadata.version
+          }
+          latestVersion={currentChart.latest_version}
+          upgradeVersion={handleUpgradeVersion}
+        />
         <BodyWrapper>
         <BodyWrapper>
           <PorterFormWrapper
           <PorterFormWrapper
             formData={currentChart.form}
             formData={currentChart.form}