File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -143,8 +143,8 @@ import {
143143 getReportStatusTranslation ,
144144 getSearchReportName ,
145145 hasHeldExpenses ,
146- hasOnlyNonReimbursableTransactions ,
147146 hasInvoiceReports ,
147+ hasOnlyNonReimbursableTransactions ,
148148 isAllowedToApproveExpenseReport as isAllowedToApproveExpenseReportUtils ,
149149 isArchivedReport ,
150150 isClosedReport ,
@@ -2381,10 +2381,7 @@ function getActions(
23812381 */
23822382function getAction ( allActions : SearchTransactionAction [ ] , primaryActionExclusions : SearchTransactionAction [ ] = [ ] ) {
23832383 // Do not set CHANGE_APPROVER as the primary action as it is less frequently used than VIEW
2384- return (
2385- allActions . find ( ( action ) => action !== CONST . SEARCH . ACTION_TYPES . CHANGE_APPROVER && ! primaryActionExclusions . includes ( action ) ) ??
2386- CONST . SEARCH . ACTION_TYPES . VIEW
2387- ) ;
2384+ return allActions . find ( ( action ) => action !== CONST . SEARCH . ACTION_TYPES . CHANGE_APPROVER && ! primaryActionExclusions . includes ( action ) ) ?? CONST . SEARCH . ACTION_TYPES . VIEW ;
23882385}
23892386
23902387/**
You can’t perform that action at this time.
0 commit comments