diff --git a/src/plotSearch/components/directReservationLinkModal/DirectReservationLinkModal.js b/src/plotSearch/components/directReservationLinkModal/DirectReservationLinkModal.js index a05f066fb..78eed6316 100644 --- a/src/plotSearch/components/directReservationLinkModal/DirectReservationLinkModal.js +++ b/src/plotSearch/components/directReservationLinkModal/DirectReservationLinkModal.js @@ -47,7 +47,7 @@ const renderTargets = ({ formValues, }: RenderTargetProps): React$Node => {!!targets && targets.map((target) => { - const targetIdentifier = target.plan_unit.identifier || target.custom_detailed_plan.identifier; + const targetIdentifier = target.plan_unit && target.plan_unit.identifier || target.custom_detailed_plan && target.custom_detailed_plan.identifier; let isChecked = false; if (formValues) {