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 d43d302
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1887,7 +1887,7 @@
lodash "^4.17.4"
query-string "^7.1.2"

"@folio/stripes-webpack@5.2.100000625", "@folio/stripes-webpack@^5.0.0":
"@folio/stripes-webpack@^5.0.0":
version "5.2.100000625"
resolved "https://repository.folio.org/repository/npm-folioci/@folio/stripes-webpack/-/stripes-webpack-5.2.100000625.tgz#c849d77041e557514986a1b1fc2cd94b1f2a9255"
integrity sha512-HKcrWmLvqTc7ntC8RqGKi/h0W8844/EcZ1Cm7k6IEDfai0UOXUepe4cKjK8G898i0q0+tnAA7q1T0LOZE/YKHA==
Expand Down

0 comments on commit d43d302

Please sign in to comment.