diff --git a/src/libs/SearchUIUtils.ts b/src/libs/SearchUIUtils.ts index e100fb885fff..c51eadf2c637 100644 --- a/src/libs/SearchUIUtils.ts +++ b/src/libs/SearchUIUtils.ts @@ -265,8 +265,8 @@ function getAction(data: OnyxTypes.SearchResults['data'], key: string): SearchTr return CONST.SEARCH.ACTION_TYPES.DONE; } - // We don't need to run the logic if this is not a transaction or iou/expense report, so let's shortcircuit the logic for performance reasons - if (!ReportUtils.isMoneyRequestReport(report) || (isTransaction && !data[key].isFromOneTransactionReport)) { + // We don't need to run the logic if this is not an iou/expense report, so let's shortcircuit the logic for performance reasons + if (!ReportUtils.isMoneyRequestReport(report)) { return CONST.SEARCH.ACTION_TYPES.VIEW; }