Skip to content

Fix crash of ParcelDetails when seen by someone who is not the user

Loic Huder requested to merge fix-investigation-in-parcel into master

With !427 (merged), investigation is needed to display the parcel details. However, the investigation was only searched in userInvestigations.

This leads to an undefined investigation when landing on the page as not a user (ex: admin) and a crash.

This MR fixes this.

Merge request reports