fix(dbs-dropdown): make to allow the search in supported db dropdown (#19125)

This commit is contained in:
smileydev 2022-03-16 01:09:56 -04:00 committed by GitHub
parent 74910f99d8
commit 8e7af79aa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -688,6 +688,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
className="available-select"
onChange={setDatabaseModel}
placeholder={t('Choose a database...')}
showSearch
>
{[...(availableDbs?.databases || [])]
?.sort((a: DatabaseForm, b: DatabaseForm) =>