Skip to content

Commit f39dec0

Browse files
committed
fix: deploy button not visible in gui view
1 parent 7a735ab commit f39dec0

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/components/v2/values/chartValuesDiff/ChartValuesView.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,17 +1539,6 @@ const ChartValuesView = ({
15391539
selectedChartValues={commonState.chartValues}
15401540
/>
15411541
)}
1542-
<footer className="flexbox dc__content-end dc__border-top px-16 py-12">
1543-
<AnimatedDeployButton
1544-
dataTestId="preset-save-values-button"
1545-
disabled={commonState.isUpdateInProgress || commonState.isDeleteInProgress}
1546-
onButtonClick={deployOrUpdateApplication}
1547-
isLoading={commonState.isUpdateInProgress}
1548-
text={isCreateValueView ? `Save ${chartValueId !== '0' ? 'Changes' : 'Value'}` : 'Deploy'}
1549-
{...(isCreateValueView ? {} : { startIcon: <Icon name="ic-rocket-launch" color={null} /> })}
1550-
animateStartIcon={!isCreateValueView}
1551-
/>
1552-
</footer>
15531542
</div>
15541543
)
15551544
}
@@ -1873,6 +1862,17 @@ const ChartValuesView = ({
18731862
renderChartValuesEditor()
18741863
)}
18751864
</div>
1865+
<footer className="flexbox dc__content-end dc__border-top px-16 py-12">
1866+
<AnimatedDeployButton
1867+
dataTestId="preset-save-values-button"
1868+
disabled={commonState.isUpdateInProgress || commonState.isDeleteInProgress}
1869+
onButtonClick={deployOrUpdateApplication}
1870+
isLoading={commonState.isUpdateInProgress}
1871+
text={isCreateValueView ? `Save ${chartValueId !== '0' ? 'Changes' : 'Value'}` : 'Deploy'}
1872+
{...(isCreateValueView ? {} : { startIcon: <Icon name="ic-rocket-launch" color={null} /> })}
1873+
animateStartIcon={!isCreateValueView}
1874+
/>
1875+
</footer>
18761876

18771877
{commonState.showDeleteAppConfirmationDialog && (
18781878
<DeleteChartDialog

0 commit comments

Comments
 (0)