Skip to content

Commit

Permalink
Fix status translations (#1748)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt authored Dec 10, 2024
2 parents f909fae + e5938d3 commit 18bf8a3
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 @@ -41,6 +41,7 @@
- Filtering by `borehole status` did not work.
- When saving with ctrl+s in the borehole sections, the form content was reset.
- There was a bug when changing the order, transparency or visibility of custom WMS user layers.
- The borehole status was not translated everywhere in the workflow panel.

## v2.1.870 - 2024-09-27

Expand Down
2 changes: 1 addition & 1 deletion src/client/src/pages/detail/form/workflow/workflowForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ class WorkflowForm extends React.Component {
whiteSpace: "nowrap",
}}>
<Typography variant="h6" sx={{ color: "#909090" }}>
<TranslationText id={`status${role.toLowerCase()}`} />
<TranslationText id={`status${this.roleMap[role].toLowerCase()}`} />
</Typography>
</div>
<div
Expand Down

0 comments on commit 18bf8a3

Please sign in to comment.