Support search for E164 without candidate contacts
This commit is contained in:
parent
37c44fb631
commit
247149c58e
|
@ -239,7 +239,6 @@ export const ChooseGroupMembersModal: FunctionComponent<PropsType> = ({
|
||||||
{i18n('AddGroupMembersModal--title')}
|
{i18n('AddGroupMembersModal--title')}
|
||||||
</h1>
|
</h1>
|
||||||
<SearchInput
|
<SearchInput
|
||||||
disabled={candidateContacts.length === 0}
|
|
||||||
i18n={i18n}
|
i18n={i18n}
|
||||||
placeholder={i18n('contactSearchPlaceholder')}
|
placeholder={i18n('contactSearchPlaceholder')}
|
||||||
onChange={event => {
|
onChange={event => {
|
||||||
|
@ -277,7 +276,7 @@ export const ChooseGroupMembersModal: FunctionComponent<PropsType> = ({
|
||||||
))}
|
))}
|
||||||
</ContactPills>
|
</ContactPills>
|
||||||
)}
|
)}
|
||||||
{candidateContacts.length ? (
|
{rowCount ? (
|
||||||
<Measure bounds>
|
<Measure bounds>
|
||||||
{({ contentRect, measureRef }: MeasuredComponentProps) => {
|
{({ contentRect, measureRef }: MeasuredComponentProps) => {
|
||||||
// We disable this ESLint rule because we're capturing a bubbled keydown
|
// We disable this ESLint rule because we're capturing a bubbled keydown
|
||||||
|
|
Loading…
Reference in New Issue