mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 01:25:37 -05:00
Update account dropdown content to include tenant Id (#20515)
This commit is contained in:
@@ -284,7 +284,7 @@ export class AccountPicker extends Disposable {
|
||||
const label = DOM.append(row, DOM.$('div.label'));
|
||||
|
||||
// TODO: Pick between the light and dark logo
|
||||
label.innerText = tenant.displayName;
|
||||
label.innerText = tenant.displayName.concat(' (', tenant.id, ')');
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ export class TenantPickerListRenderer implements IListRenderer<Tenant, TenantPic
|
||||
}
|
||||
|
||||
public renderElement(tenant: Tenant, index: number, templateData: PickerListTemplate): void {
|
||||
templateData.displayName.innerText = tenant.displayName;
|
||||
templateData.displayName.innerText = tenant.displayName.concat(' (', tenant.id, ')');
|
||||
}
|
||||
|
||||
public disposeTemplate(template: PickerListTemplate): void {
|
||||
|
||||
Reference in New Issue
Block a user