Support search for E164 without candidate contacts

This commit is contained in:
Fedor Indutny 2022-04-13 15:01:20 -07:00 committed by Fedor Indutnyy
parent 37c44fb631
commit 247149c58e
1 changed files with 1 additions and 2 deletions

View File

@ -239,7 +239,6 @@ export const ChooseGroupMembersModal: FunctionComponent<PropsType> = ({
{i18n('AddGroupMembersModal--title')}
</h1>
<SearchInput
disabled={candidateContacts.length === 0}
i18n={i18n}
placeholder={i18n('contactSearchPlaceholder')}
onChange={event => {
@ -277,7 +276,7 @@ export const ChooseGroupMembersModal: FunctionComponent<PropsType> = ({
))}
</ContactPills>
)}
{candidateContacts.length ? (
{rowCount ? (
<Measure bounds>
{({ contentRect, measureRef }: MeasuredComponentProps) => {
// We disable this ESLint rule because we're capturing a bubbled keydown