Skip to content

Commit

Permalink
fix: fallback to latest form state if resthandler skips some table fi…
Browse files Browse the repository at this point in the history
…elds from response
  • Loading branch information
harshpatel-crest committed Jun 18, 2021
1 parent 4a8c79c commit 85a668c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/src/main/webapp/components/BaseFormView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,8 @@ class BaseFormView extends PureComponent {
const tmpObj = {};

tmpObj[val.name] = {
// ADDON-38581: `datadict` provides fallback values if rh skips
...this.datadict,
...val.content,
id: val.id,
name: val.name,
Expand Down

0 comments on commit 85a668c

Please sign in to comment.