Skip to content

Commit d8e096b

Browse files
committed
fix: deployment app type is always set as helm in chart values view
1 parent 99bcb50 commit d8e096b

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"homepage": "/dashboard",
66
"dependencies": {
7-
"@devtron-labs/devtron-fe-common-lib": "0.3.19",
7+
"@devtron-labs/devtron-fe-common-lib": "0.3.19-beta-2",
88
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
99
"@rjsf/core": "^5.13.3",
1010
"@rjsf/utils": "^5.13.3",

src/components/v2/values/chartValuesDiff/ChartValuesView.reducer.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const initState = (
2323
chartValuesFromParent: ChartValuesType,
2424
installedConfigFromParent: any,
2525
chartVersionsDataFromParent: ChartVersionType[],
26+
deploymentAppType: DeploymentAppTypes,
2627
): ChartValuesViewState => {
2728
return {
2829
isLoading: true,
@@ -79,7 +80,7 @@ export const initState = (
7980
invalidProject: false,
8081
formValidationError: {},
8182
showNoGitOpsWarning: false,
82-
deploymentAppType: DeploymentAppTypes.HELM,
83+
deploymentAppType: deploymentAppType ?? DeploymentAppTypes.HELM,
8384
gitRepoURL: '',
8485
authMode: null,
8586
initialChartVersionValues: {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ const ChartValuesView = ({
198198
: chartValuesFromParent,
199199
installedConfigFromParent,
200200
chartVersionsDataFromParent,
201+
appDetails?.deploymentAppType,
201202
),
202203
)
203204

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,10 +1346,10 @@
13461346
dependencies:
13471347
"@jridgewell/trace-mapping" "0.3.9"
13481348

1349-
"@devtron-labs/[email protected]":
1350-
version "0.3.19"
1351-
resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-0.3.19.tgz#a1b22552e1e9d998c1d2d6690bf23afcef9253cc"
1352-
integrity sha512-sEUyag/2Ee7KG7JWRuv/IbJzZNQ9AbjqvDTty+VebuXTrCrOAhTUNXz+uGouUQ/x7J/bqDNY/M3d7Zwluw13yQ==
1349+
"@devtron-labs/[email protected]-beta-2":
1350+
version "0.3.19-beta-2"
1351+
resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-0.3.19-beta-2.tgz#fb2d5a758c5567ebf95335ad79a7647b81ad9d19"
1352+
integrity sha512-rWUP1Cpiobw1pz8RHRQlSRUxfX+fwZpQKWx3SZomeq75nHvUYGCoT/NRvo1aBqzylIjQ005HDbXI3uHJdeobkw==
13531353
dependencies:
13541354
"@types/react-dates" "^21.8.6"
13551355
ansi_up "^5.2.1"

0 commit comments

Comments
 (0)