mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-09 01:32:34 -05:00
SQL-Migration: improve SQL DB table selection ux to include missing tables (#22659)
* add missing target tables ux * fix number formatting
This commit is contained in:
@@ -97,12 +97,15 @@ export function sendSqlMigrationActionEvent(telemetryView: TelemetryViews, telem
|
||||
}
|
||||
|
||||
export function getTelemetryProps(migrationStateModel: MigrationStateModel): TelemetryEventProperties {
|
||||
const tenantId = migrationStateModel._azureAccount?.properties?.tenants?.length > 0
|
||||
? migrationStateModel._azureAccount?.properties?.tenants[0]?.id
|
||||
: '';
|
||||
return {
|
||||
'sessionId': migrationStateModel._sessionId,
|
||||
'subscriptionId': migrationStateModel._targetSubscription?.id,
|
||||
'resourceGroup': migrationStateModel._resourceGroup?.name,
|
||||
'targetType': migrationStateModel._targetType,
|
||||
'tenantId': migrationStateModel._azureAccount?.properties?.tenants[0]?.id,
|
||||
'tenantId': tenantId,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user