|
|
|
@ -90,7 +90,7 @@ export const getSearchResultsList = createSelector([getSearchResults], searchSta
|
|
|
|
|
idsAndDisplayNames.filter(m => Boolean(m.displayName)),
|
|
|
|
|
m => m.displayName?.toLowerCase()
|
|
|
|
|
);
|
|
|
|
|
if (idsWithDisplayNames.length) {
|
|
|
|
|
|
|
|
|
|
// add a break wherever needed
|
|
|
|
|
let currentChar = '';
|
|
|
|
|
for (let i = 0; i < idsWithDisplayNames.length; i++) {
|
|
|
|
@ -113,7 +113,6 @@ export const getSearchResultsList = createSelector([getSearchResults], searchSta
|
|
|
|
|
if (usIndex !== -1) {
|
|
|
|
|
builtList.unshift({ contactConvoId: us, displayName: window.i18n('noteToSelf') });
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const idsWithNoDisplayNames = sortBy(
|
|
|
|
|
idsAndDisplayNames.filter(m => !m.displayName),
|
|
|
|
|