Skip to content

Commit

Permalink
fix the issue where the name dissapears
Browse files Browse the repository at this point in the history
  • Loading branch information
thienlnam committed Oct 18, 2023
1 parent 5b94b25 commit ccd2f3c
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/pages/NewChatPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,24 @@ function NewChatPage({betas, isGroupChat, personalDetails, reports, translate, i
recentReports,
personalDetails: newChatPersonalDetails,
userToInvite,
} = OptionsListUtils.getFilteredOptions(reports, personalDetails, betas, searchTerm, newSelectedOptions, excludedGroupEmails);
} = OptionsListUtils.getFilteredOptions(
reports,
personalDetails,
betas,
searchTerm,
newSelectedOptions,
isGroupChat ? excludedGroupEmails : [],
false,
true,
false,
{},
[],
false,
{},
[],
true,
true,
);

setSelectedOptions(newSelectedOptions);
setFilteredRecentReports(recentReports);
Expand Down

0 comments on commit ccd2f3c

Please sign in to comment.