Skip to content

Commit

Permalink
hide request money option in task report
Browse files Browse the repository at this point in the history
  • Loading branch information
situchan committed Jul 5, 2023
1 parent 7e908b1 commit 822ad2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/ReportUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2237,8 +2237,8 @@ function canRequestMoney(report) {
* @returns {Array}
*/
function getMoneyRequestOptions(report, reportParticipants, betas) {
// In any thread, we do not allow any new money requests yet
if (isChatThread(report)) {
// In any thread or task report, we do not allow any new money requests yet
if (isChatThread(report) || isTaskReport(report)) {
return [];
}

Expand Down

0 comments on commit 822ad2e

Please sign in to comment.