Skip to content

Commit

Permalink
Merge pull request #44238 from Expensify/vit-44193
Browse files Browse the repository at this point in the history
[CP Staging] Check for system chat report for inability to rename it

(cherry picked from commit 5f45b4c)
  • Loading branch information
Beamanator authored and OSBotify committed Jun 24, 2024
1 parent 1029b67 commit 5b441a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6153,7 +6153,8 @@ function shouldDisableRename(report: OnyxEntry<Report>): boolean {
isMoneyRequestReport(report) ||
isPolicyExpenseChat(report) ||
isInvoiceRoom(report) ||
isInvoiceReport(report)
isInvoiceReport(report) ||
isSystemChat(report)
) {
return true;
}
Expand Down

0 comments on commit 5b441a5

Please sign in to comment.