mirror of https://github.com/apache/druid.git
Web console: fix Azure icon not rendering (#16173)
* do not lowercase the icon name * missing icon * update test
This commit is contained in:
parent
488d376209
commit
e769ec7b96
|
@ -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: (
|
||||
<>
|
||||
|
|
|
@ -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>':
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue