Skip to content

Commit 4b7bfb6

Browse files
authored
Merge pull request Expensify#86843 from truph01/fix/82794-follow-up
[CP Staging] Fix: Update the condition to correctly display user options on the reject reason screen
2 parents f938541 + a23bcb0 commit 4b7bfb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/RejectExpenseReportPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function RejectExpenseReportPage({route}: RejectExpenseReportPageProps) {
8282
}, [reportActions]);
8383

8484
const submitterAccountID = report?.ownerAccountID ?? CONST.DEFAULT_NUMBER_ID;
85-
const hasPreviousApprover = previousApprover !== null;
85+
const hasPreviousApprover = previousApprover !== null && previousApprover.accountID !== currentUserPersonalDetails?.accountID && previousApprover.accountID !== submitterAccountID;
8686

8787
const options = [];
8888

0 commit comments

Comments
 (0)