Skip to content

Commit 3bfb30a

Browse files
authored
Merge pull request #59201 from mkzie2/mkzie2-issue/58788
fix: admins can't edit expenses on draft reports in NewDot
2 parents a05d34f + 175adc7 commit 3bfb30a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libs/ReportUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3670,8 +3670,8 @@ function canEditMoneyRequest(reportAction: OnyxInputOrEntry<ReportAction<typeof
36703670
return false;
36713671
}
36723672

3673-
// Admin & managers can always edit coding fields such as tag, category, billable, etc. As long as the report has a state higher than OPEN.
3674-
if ((isAdmin || isManager) && !isOpenExpenseReport(moneyRequestReport)) {
3673+
// Admin & managers can always edit coding fields such as tag, category, billable, etc.
3674+
if (isAdmin || isManager) {
36753675
return true;
36763676
}
36773677

0 commit comments

Comments
 (0)