Skip to content

Commit

Permalink
Merge pull request #12038 from Expensify/vit-fixDeployBlocker
Browse files Browse the repository at this point in the history
[CP Staging] Fix hasExpensifyGuidesEmails call
  • Loading branch information
mountiny authored Oct 20, 2022
2 parents 1e1cdcb + e457989 commit 5cb3c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ function shouldReportBeInOptionList(report, reportIDFromRoute, isInGSDMode, curr
}

// Include default rooms unless you're on the default room beta, unless you have an assigned guide
if (isDefaultRoom(report) && !Permissions.canUseDefaultRooms(betas) && !this.hasExpensifyGuidesEmails(lodashGet(report, ['participants'], []))) {
if (isDefaultRoom(report) && !Permissions.canUseDefaultRooms(betas) && !hasExpensifyGuidesEmails(lodashGet(report, ['participants'], []))) {
return false;
}

Expand Down

0 comments on commit 5cb3c34

Please sign in to comment.