Skip to content

Commit c4e4293

Browse files
committed
fix prettier
1 parent d28df87 commit c4e4293

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/libs/SearchUIUtils.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff 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
*/
23822382
function 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
/**

0 commit comments

Comments
 (0)