@@ -58,6 +58,7 @@ import {
5858 hasOnlyNonReimbursableTransactions ,
5959 hasReportBeenReopened as hasReportBeenReopenedUtils ,
6060 hasReportBeenRetracted as hasReportBeenRetractedUtils ,
61+ isActionCreator ,
6162 isArchivedReport ,
6263 isAwaitingFirstLevelApproval ,
6364 isClosedReport as isClosedReportUtils ,
@@ -68,6 +69,7 @@ import {
6869 isInvoiceReport as isInvoiceReportUtils ,
6970 isIOUReport as isIOUReportUtils ,
7071 isMoneyRequestReportEligibleForMerge ,
72+ isOpenExpenseReport ,
7173 isOpenReport as isOpenReportUtils ,
7274 isPayer as isPayerUtils ,
7375 isProcessingReport as isProcessingReportUtils ,
@@ -562,6 +564,11 @@ function isHoldActionForTransaction(
562564 const iouOrExpenseReport = isExpenseReport || isIOUReport ;
563565 const holdReportAction = getReportAction ( reportAction ?. childReportID , `${ reportTransaction ?. comment ?. hold ?? '' } ` ) ;
564566 const { canHoldRequest} = canHoldUnholdReportAction ( report , reportAction , holdReportAction , reportTransaction , policy , currentUserAccountID ) ;
567+ const isActionOwner = isActionCreator ( reportAction ) ;
568+
569+ if ( isOpenExpenseReport ( report ) ) {
570+ return isActionOwner ;
571+ }
565572
566573 if ( ! iouOrExpenseReport || ! canHoldRequest ) {
567574 return false ;
0 commit comments