Web console: fix Azure icon not rendering (#16173)

* do not lowercase the icon name

* missing icon

* update test
This commit is contained in:
Vadim Ogievetsky 2024-03-20 13:37:39 -07:00 committed by GitHub
parent 488d376209
commit e769ec7b96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View File

@ -208,7 +208,7 @@ export function getIngestionTitle(ingestionType: IngestionComboTypeWithExtra): s
export function getIngestionImage(ingestionType: IngestionComboTypeWithExtra): string {
const parts = ingestionType.split(':');
if (parts.length === 2) return parts[1].toLowerCase();
if (parts.length === 2) return parts[1];
return ingestionType;
}
@ -2071,6 +2071,7 @@ const TUNING_FORM_FIELDS: Field<IngestionSpec>[] = [
{
name: 'spec.tuningConfig.maxPendingPersists',
type: 'number',
defaultValue: 0,
hideInMore: true,
info: (
<>

View File

@ -80,6 +80,7 @@ export function dataTypeToIcon(dataType: string): IconName {
return IconNames.SNOWFLAKE;
case 'COMPLEX<QUANTILESDOUBLESSKETCH>':
case 'COMPLEX<APPROXIMATEHISTOGRAM>':
return IconNames.HORIZONTAL_DISTRIBUTION;
case 'COMPLEX<VARIANCE>':

View File

@ -182,7 +182,7 @@ exports[`LoadDataView matches snapshot batch 1`] = `
>
<img
alt="Ingestion tile for index_parallel:azureStorage"
src="/some/base_url/assets/azurestorage.png"
src="/some/base_url/assets/azureStorage.png"
/>
<p>
Azure Data Lake