File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2360,8 +2360,7 @@ function formatSectionsFromSearchTerm(
23602360 // This will add them to the list of options, deduping them if they already exist in the other lists
23612361 const selectedParticipantsWithoutDetails = selectedOptions . filter ( ( participant ) => {
23622362 const accountID = participant . accountID ?? null ;
2363- const searchTerms = getPersonalDetailSearchTerms ( participant ) ;
2364- const isPartOfSearchTerm = searchTerms . join ( ' ' ) . toLowerCase ( ) . includes ( cleanSearchTerm ) ;
2363+ const isPartOfSearchTerm = getPersonalDetailSearchTerms ( participant ) . join ( ' ' ) . toLowerCase ( ) . includes ( cleanSearchTerm ) ;
23652364 const isReportInRecentReports = filteredRecentReports . some ( ( report ) => report . accountID === accountID ) || filteredWorkspaceChats . some ( ( report ) => report . accountID === accountID ) ;
23662365 const isReportInPersonalDetails = filteredPersonalDetails . some ( ( personalDetail ) => personalDetail . accountID === accountID ) ;
23672366
You can’t perform that action at this time.
0 commit comments