Skip to content

Commit

Permalink
fix(dashboard): envs and custom resources will be ignored during the …
Browse files Browse the repository at this point in the history
…deployment form merge phase
  • Loading branch information
yetone committed Feb 9, 2023
1 parent 2a883b1 commit 7e2525a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dashboard/src/components/DeploymentForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ export default function DeploymentForm({
if (_.endsWith(key, '_overrides')) {
return value
}
if (key === 'envs' || key === 'custom') {
return srcValue
}
if (typeof value === 'object' || typeof srcValue === 'object') {
if (value === undefined || value === null) {
return srcValue
Expand Down

0 comments on commit 7e2525a

Please sign in to comment.