Skip to content

Commit ec1e648

Browse files
authored
Merge pull request Expensify#89591 from paulnjs/paulnjs-fix/86898
fix: Unable to create expense in the report after Concierge joins report
2 parents 3380f08 + ba2d615 commit ec1e648

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/ReportUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10018,7 +10018,7 @@ function getMoneyRequestOptions(
1001810018
// This will be fixed as part of https://github.com/Expensify/Expensify/issues/507850
1001910019
const policyOwnerAccountID = getPolicy(report?.policyID)?.ownerAccountID;
1002010020
const isPolicyOwnedByExpensifyAccounts = policyOwnerAccountID ? CONST.EXPENSIFY_ACCOUNT_IDS.includes(policyOwnerAccountID) : false;
10021-
if (doParticipantsIncludeExpensifyAccounts && !isPolicyOwnedByExpensifyAccounts) {
10021+
if (doParticipantsIncludeExpensifyAccounts && !isPolicyOwnedByExpensifyAccounts && !isPolicyExpenseChat(report) && !isExpenseReport(report)) {
1002210022
// Allow create expense option for Manager McTest report
1002310023
if (
1002410024
canRequestMoney(report, policy, otherParticipants) &&

0 commit comments

Comments
 (0)