Skip to content

Commit faf9a2e

Browse files
committed
show "unkonwn" for unknown integrations
1 parent 5c05bc8 commit faf9a2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/webviews/webview-side/integrations/BigQueryForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const BigQueryForm: React.FC<IBigQueryFormProps> = ({ integrationId, exis
6161

6262
const config: BigQueryIntegrationConfig = {
6363
id: integrationId,
64-
name: name || integrationId,
64+
name: name || l10n.t('Unnamed BigQuery Integration ({0})', integrationId),
6565
type: 'bigquery',
6666
projectId,
6767
credentials

src/webviews/webview-side/integrations/PostgresForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const PostgresForm: React.FC<IPostgresFormProps> = ({ integrationId, exis
3636

3737
const config: PostgresIntegrationConfig = {
3838
id: integrationId,
39-
name: name || integrationId,
39+
name: name || l10n.t('Unnamed PostgreSQL Integration ({0})', integrationId),
4040
type: 'postgres',
4141
host,
4242
port: parseInt(port, 10),

0 commit comments

Comments
 (0)