Skip to content

Commit

Permalink
Merge pull request #53293 from Expensify/aldo_add-showChatPreviewLine
Browse files Browse the repository at this point in the history
Include showChatPreviewLine: true

(cherry picked from commit eddc533)

(CP triggered by mountiny)
  • Loading branch information
MonilBhavsar authored and OSBotify committed Nov 29, 2024
1 parent a4bb0ee commit f07ed11
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/components/Search/SearchRouter/SearchRouterList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,28 @@ function SearchRouterList(
return [];
}

<<<<<<< HEAD
const filteredOptions = OptionsListUtils.getFilteredOptions({
reports: options.reports,
personalDetails: options.personalDetails,
excludeLogins: CONST.EXPENSIFY_EMAILS,
maxRecentReportsToShow: 0,
includeSelfDM: true,
});
=======
const filteredOptions = OptionsListUtils.getOptions(
{
reports: options.reports,
personalDetails: options.personalDetails,
},
{
excludeLogins: CONST.EXPENSIFY_EMAILS,
includeSelfDM: true,
showChatPreviewLine: true,
shouldBoldTitleByDefault: false,
},
);
>>>>>>> eddc533 (Merge pull request #53293 from Expensify/aldo_add-showChatPreviewLine)

// This cast is needed as something is incorrect in types OptionsListUtils.getOptions around l1490 and includeRecentReports types
const personalDetailsFromOptions = filteredOptions.personalDetails.map((option) => (option as SearchOption<PersonalDetails>).item);
Expand Down

0 comments on commit f07ed11

Please sign in to comment.