Skip to content

Commit 8b5f1db

Browse files
ganzz4suneox
andcommitted
Update src/libs/ReportSecondaryActionUtils.ts
Co-authored-by: Cong Pham <ptcong411@gmail.com>
1 parent 43c9e83 commit 8b5f1db

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/libs/ReportSecondaryActionUtils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ function isUnapproveAction(report: Report, policy?: Policy): boolean {
222222
const isReportSettled = isSettled(report);
223223
const isPaymentProcessing = report.isWaitingOnBankAccount && report.statusNum === CONST.REPORT.STATUS_NUM.APPROVED;
224224
const isAdmin = policy?.role === CONST.POLICY.ROLE.ADMIN;
225+
const isManager = report.managerID === getCurrentUserAccountID();
225226

226227
if (isReportSettled || isPaymentProcessing) {
227228
return false;

0 commit comments

Comments
 (0)