mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -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'));
|
const label = DOM.append(row, DOM.$('div.label'));
|
||||||
|
|
||||||
// TODO: Pick between the light and dark logo
|
// TODO: Pick between the light and dark logo
|
||||||
label.innerText = tenant.displayName;
|
label.innerText = tenant.displayName.concat(' (', tenant.id, ')');
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ export class TenantPickerListRenderer implements IListRenderer<Tenant, TenantPic
|
|||||||
}
|
}
|
||||||
|
|
||||||
public renderElement(tenant: Tenant, index: number, templateData: PickerListTemplate): void {
|
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 {
|
public disposeTemplate(template: PickerListTemplate): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user