-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/exui 2744 #1857
base: master
Are you sure you want to change the base?
Fix/exui 2744 #1857
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Josh-HMCTS can you check the 3 sonar issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Josh-HMCTS I have added couple of review comments
} | ||
} | ||
} else { | ||
if (caseField.data[fieldId] !== data[field].formatted_value){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Josh-HMCTS can the above if condition can be added in the else block above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to be else if, not nested if on its own
formattedValue[key] = dataValue; | ||
} else if (formattedValue[key] !== dataValue) { | ||
formattedValue[key] = dataValue; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Josh-HMCTS can above check can be clubbed in if block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved to use one if statement with ||
|
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/EXUI-2744
Change description
Handle collections that consist of dynamic multi select lists in the collection's complex type