Fixed add ingestion page (#14458)

This commit is contained in:
Onkar Ravgan 2023-12-20 19:31:16 +05:30 committed by GitHub
parent c3fac5e97e
commit 9388c39b46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,7 +146,7 @@ class ServiceUtilClassBase {
searchSource: SearchSuggestions[number] | SearchSourceAlias
) {
const serviceTypes = this.getSupportedServiceFromList();
const type = searchSource.serviceType ?? '';
const type = searchSource?.serviceType ?? '';
switch (type) {
case DatabaseServiceType.Mysql:
return MYSQL;