Skip to content

Commit 38c588a

Browse files
authored
Merge branch 'main' into json-export-endpoint
2 parents 31024aa + 2fe9a61 commit 38c588a

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Changed
66
- Removed attachments from csv import.
77
- Updated recommended csv headers for borehole import to camel case e.g. `OriginalName` (snake case e.g. `original_name` is still supported for all properties except for custom identifiers).
8+
- Changed order of `Top Bedrock (fresh)` and `Top Bedrock (weathered)` fields in borehole form.
89

910
### Fixed
1011

src/client/src/pages/detail/form/borehole/boreholeForm.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -140,29 +140,29 @@ export const BoreholeForm = forwardRef(({ borehole, editingEnabled, onSubmit }:
140140
</FormContainer>
141141
<FormContainer direction="row">
142142
<FormInput
143-
fieldName={"topBedrockFreshMd"}
144-
label={"top_bedrock_fresh_md"}
145-
value={borehole?.topBedrockFreshMd || ""}
143+
fieldName={"topBedrockWeatheredMd"}
144+
label={"top_bedrock_weathered_md"}
145+
value={borehole?.topBedrockWeatheredMd || ""}
146146
withThousandSeparator={true}
147147
readonly={!editingEnabled}
148148
/>
149149
<FormInputDisplayOnly
150-
label={"top_bedrock_fresh_tvd"}
151-
value={topBedrockFreshTVD}
150+
label={"top_bedrock_weathered_tvd"}
151+
value={topBedrockWeatheredTVD}
152152
withThousandSeparator={true}
153153
/>
154154
</FormContainer>
155155
<FormContainer direction="row">
156156
<FormInput
157-
fieldName={"topBedrockWeatheredMd"}
158-
label={"top_bedrock_weathered_md"}
159-
value={borehole?.topBedrockWeatheredMd || ""}
157+
fieldName={"topBedrockFreshMd"}
158+
label={"top_bedrock_fresh_md"}
159+
value={borehole?.topBedrockFreshMd || ""}
160160
withThousandSeparator={true}
161161
readonly={!editingEnabled}
162162
/>
163163
<FormInputDisplayOnly
164-
label={"top_bedrock_weathered_tvd"}
165-
value={topBedrockWeatheredTVD}
164+
label={"top_bedrock_fresh_tvd"}
165+
value={topBedrockFreshTVD}
166166
withThousandSeparator={true}
167167
/>
168168
</FormContainer>

0 commit comments

Comments
 (0)