fix(DB Connection): Update placeholder values for Snowflake connection (#25119)

This commit is contained in:
Vitor Avila
2023-08-30 09:16:31 -03:00
committed by GitHub
parent 00550d7c02
commit 46a0a6e08a
2 changed files with 3 additions and 8 deletions

View File

@@ -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;
};