Skip to content

Commit

Permalink
Merge pull request #1019 from kartoza/prevent-site-crash-on-null-orga…
Browse files Browse the repository at this point in the history
…nisation-type

patch: adjust null condition
  • Loading branch information
tinashechiraya authored May 14, 2024
2 parents 8be2600 + 36374ed commit b3e52f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ export const Map = forwardRef((props: Interface, ref) => {
"elec_cond_unit": "S/m",
"user": 0
}]
}else {
}else if (data.observations[0].organisationtype == null){
data.observations[0].organisationtype = {
"id": 0,
"rank": 0,
Expand Down

0 comments on commit b3e52f6

Please sign in to comment.