Skip to content

Commit

Permalink
Merge pull request #22244 from situchan/fix/21788-request-money-task-…
Browse files Browse the repository at this point in the history
…report

hide request money option in task report
  • Loading branch information
marcochavezf authored Jul 6, 2023
2 parents 4dd425f + 822ad2e commit e54d2cb
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 @@ -2226,8 +2226,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 e54d2cb

Please sign in to comment.