mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
fix(DB Connection): Update placeholder values for Snowflake connection (#25119)
This commit is contained in:
@@ -667,12 +667,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
|
||||
|
||||
const getPlaceholder = (field: string) => {
|
||||
if (field === 'database') {
|
||||
switch (db?.engine) {
|
||||
case Engines.Snowflake:
|
||||
return t('e.g. xy12345.us-east-2.aws');
|
||||
default:
|
||||
return t('e.g. world_population');
|
||||
}
|
||||
return t('e.g. world_population');
|
||||
}
|
||||
return undefined;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user