Skip to content

Commit

Permalink
Hydro reload error (#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lehats authored Jan 22, 2024
2 parents 5f331fe + 50ef193 commit f371fb6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
- Removed the functionality to edit user details (first name, surname and password) since they are now managed by the IAM.
- Removed middle name from user details because it was not used until now.

### Fixed

- Ensure hydrogeology components are loaded properly when refreshed.

## v2.0.506 - 2023-12-21

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/client/cypress/e2e/viewer/displayLayer.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ describe("Test for the borehole form.", () => {

// Click on layer
cy.get('[data-cy="stratigraphy-layer-0"]').scrollIntoView();
cy.get('[data-cy="stratigraphy-layer-0"]').click();
cy.get('[data-cy="stratigraphy-layer-0"]').click({ force: true });

// Three detail rows are displayed - two by default plus one that was selected as default field.
cy.get('[data-cy="stratigraphy-layer-details"] h6').should(
Expand Down
10 changes: 5 additions & 5 deletions src/client/src/commons/form/borehole/boreholeForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ class BoreholeForm extends React.Component {
render={() => (
<WaterIngress
isEditable={isEditable}
boreholeId={borehole.data.id}
boreholeId={parseInt(this.props.match.params.id, 10)}
/>
)}
/>
Expand All @@ -419,7 +419,7 @@ class BoreholeForm extends React.Component {
render={() => (
<GroundwaterLevelMeasurement
isEditable={isEditable}
boreholeId={borehole.data.id}
boreholeId={parseInt(this.props.match.params.id, 10)}
/>
)}
/>
Expand All @@ -432,7 +432,7 @@ class BoreholeForm extends React.Component {
render={() => (
<FieldMeasurement
isEditable={isEditable}
boreholeId={borehole.data.id}
boreholeId={parseInt(this.props.match.params.id, 10)}
/>
)}
/>
Expand All @@ -442,7 +442,7 @@ class BoreholeForm extends React.Component {
render={() => (
<Hydrotest
isEditable={isEditable}
boreholeId={borehole.data.id}
boreholeId={parseInt(this.props.match.params.id, 10)}
/>
)}
/>
Expand All @@ -455,7 +455,7 @@ class BoreholeForm extends React.Component {
render={() => (
<GroundwaterLevelMeasurement
isEditable={isEditable}
boreholeId={borehole.data.id}
boreholeId={parseInt(this.props.match.params.id, 10)}
/>
)}
/>
Expand Down

0 comments on commit f371fb6

Please sign in to comment.