diff --git a/src/libs/ReportPreviewActionUtils.ts b/src/libs/ReportPreviewActionUtils.ts index 1c1d9d96b7fa..6289fac2b09c 100644 --- a/src/libs/ReportPreviewActionUtils.ts +++ b/src/libs/ReportPreviewActionUtils.ts @@ -81,6 +81,10 @@ function canApprove(report: Report, currentUserAccountID: number, reportMetadata if (hasPendingDEWApprove(reportMetadata, isDEWPolicy)) { return false; } + // Add the new guard clause here + if (reportMetadata?.isApprovalPending) { + return false; + } const isPreventSelfApprovalEnabled = policy?.preventSelfApproval; const isReportSubmitter = isCurrentUserSubmitter(report);