Skip to content

Commit

Permalink
make text conditional on form state
Browse files Browse the repository at this point in the history
  • Loading branch information
matbusby committed Jan 15, 2024
1 parent c44fb61 commit 2a6723e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const ReportDetailsForm: FC<ReportDetailsFormProps> = ({
(relationship) =>
relationship.mine_party_appt_type_code === MinePartyAppointmentTypeCodeEnum.MMG
);
if (mineManager) {
if (currentMineManager) {
// Since the party relationships don't contain the required party data, fetch the party
setMineManagerGuid(currentMineManager.party_guid);
dispatch(fetchPartyById(currentMineManager.party_guid));
Expand Down

0 comments on commit 2a6723e

Please sign in to comment.