Skip to content

Commit

Permalink
Merge pull request #25847 from spcheema/fix/24389-fix-undefined-reportID
Browse files Browse the repository at this point in the history
[CP Staging] Fix/24389 - Request a money - Clicking on the avatar open a wrong profile
  • Loading branch information
mountiny authored Aug 24, 2023
2 parents 4471d68 + 0ad43f9 commit 5068d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionItemSingle.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function ReportActionItemSingle(props) {
}
showUserDetails(props.action.delegateAccountID ? props.action.delegateAccountID : actorAccountID);
}
}, [isWorkspaceActor, props.report.reportID, actorAccountID, props.action.delegateAccountID, props.iouReport.reportID, displayAllActors]);
}, [isWorkspaceActor, props.report.reportID, actorAccountID, props.action.delegateAccountID, props.iouReport, displayAllActors]);

const shouldDisableDetailPage = useMemo(
() => !isWorkspaceActor && ReportUtils.isOptimisticPersonalDetail(props.action.delegateAccountID ? props.action.delegateAccountID : actorAccountID),
Expand Down

0 comments on commit 5068d69

Please sign in to comment.