Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/tree/azure/AzureResourceTreeDataProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class AzureResourceTreeDataProvider extends AzureResourceTreeDataProvider
this.resourceGroupingManager,
this.resourceProviderManager,
subscription,
`(${subscription.tenantId})`);
`(${nonNullValueAndProp(subscription.account, 'label')}/${subscription.tenantId})`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is tenant display name available? Ideally we could do tenantDisplayName || tenantId

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: IMO spaces around the / would look better

} else if (duplicates.includes(subscription)) {
return new SubscriptionItem(
{
Expand Down