mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Tenant selction bug (#23349)
This commit is contained in:
@@ -98,7 +98,8 @@ export function sendSqlMigrationActionEvent(telemetryView: TelemetryViews, telem
|
||||
}
|
||||
|
||||
export function getTelemetryProps(migrationStateModel: MigrationStateModel): TelemetryEventProperties {
|
||||
const tenantId = migrationStateModel._azureAccount?.properties?.tenants?.length > 0
|
||||
const tenantId = migrationStateModel._azureTenant?.id ??
|
||||
migrationStateModel._azureAccount?.properties?.tenants?.length > 0
|
||||
? migrationStateModel._azureAccount?.properties?.tenants[0]?.id
|
||||
: '';
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user