File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
src/components/v2/values/chartValuesDiff Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -120,19 +120,20 @@ export const updateGeneratedManifest = async (
120
120
} )
121
121
122
122
if ( isUnlinkedCLIApp ) {
123
- await getDeploymentManifestDetails ( appId , deploymentVersion , isExternalApp ) . then (
124
- ( response : ChartDeploymentManifestDetailResponse ) => {
125
- dispatch ( {
126
- type : ChartValuesViewActionTypes . multipleOptions ,
127
- payload : {
128
- generatedManifest : response . result . manifest ,
129
- valuesYamlUpdated : false ,
130
- valuesEditorError : '' ,
131
- generatingManifest : false ,
132
- } ,
133
- } )
134
- } ,
123
+ const response : ChartDeploymentManifestDetailResponse = await getDeploymentManifestDetails (
124
+ appId ,
125
+ deploymentVersion ,
126
+ isExternalApp ,
135
127
)
128
+ dispatch ( {
129
+ type : ChartValuesViewActionTypes . multipleOptions ,
130
+ payload : {
131
+ generatedManifest : response . result . manifest ,
132
+ valuesYamlUpdated : false ,
133
+ valuesEditorError : '' ,
134
+ generatingManifest : false ,
135
+ } ,
136
+ } )
136
137
137
138
return
138
139
}
@@ -168,7 +169,6 @@ export const getAndUpdateSchemaValue = (
168
169
dispatch : ( action : ChartValuesViewAction ) => void ,
169
170
) : void => {
170
171
const parsedValuesYamlDocument = YAML . parseDocument ( modifiedValuesYaml || '' )
171
- // TODO: can add unit testing here?
172
172
dispatch ( {
173
173
type : ChartValuesViewActionTypes . multipleOptions ,
174
174
payload : {
You can’t perform that action at this time.
0 commit comments