Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into STSMACOM-875
Browse files Browse the repository at this point in the history
  • Loading branch information
BogdanDenis committed Nov 25, 2024
2 parents 8b0c011 + 45615a8 commit 3dbd72a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Add the `endDateInputRef` prop to `DateRangeFilter` to access the end date element. Refs STSMACOM-859.
* Remove unnecessary `aria-rowindex` in `ItemView` and `ItemEdit` components. Fixes STSMACOM-871.
* Check for `active` status of `<Settings>` navigation links independently from the applied href and query string. Query string should only be applied to active link. Refs STSMACOM-837.
* `<EditableListForm>` use `lodash.isEmpty` to check for empty `state.status` in re-initialization checks on component update. Fixes STSMACOM-876.

## [9.2.3] IN PROGRESS

Expand Down
2 changes: 1 addition & 1 deletion lib/EditableList/EditableListForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class EditableListForm extends React.Component {

// needed for instances where initialValues arrive AFTER initialization.
static getDerivedStateFromProps(props, state) {
if (!state.status) {
if (isEmpty(state.status)) {
return {
status: buildStatusArray(props.initialValues.items)
};
Expand Down

0 comments on commit 3dbd72a

Please sign in to comment.