mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
fix: database dropdown keys (#23433)
This commit is contained in:
parent
aec91850e5
commit
65a3a4d908
@ -928,8 +928,8 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
|
||||
?.sort((a: DatabaseForm, b: DatabaseForm) =>
|
||||
a.name.localeCompare(b.name),
|
||||
)
|
||||
.map((database: DatabaseForm) => (
|
||||
<AntdSelect.Option value={database.name} key={database.name}>
|
||||
.map((database: DatabaseForm, index: number) => (
|
||||
<AntdSelect.Option value={database.name} key={`database-${index}`}>
|
||||
{database.name}
|
||||
</AntdSelect.Option>
|
||||
))}
|
||||
|
@ -246,7 +246,7 @@ class ClickHouseConnectEngineSpec(ClickHouseEngineSpec, BasicParametersMixin):
|
||||
"""Engine spec for clickhouse-connect connector"""
|
||||
|
||||
engine = "clickhousedb"
|
||||
engine_name = "ClickHouse Connect"
|
||||
engine_name = "ClickHouse Connect (Superset)"
|
||||
|
||||
default_driver = "connect"
|
||||
_function_names: List[str] = []
|
||||
|
Loading…
Reference in New Issue
Block a user