Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
alexweininger committed Nov 21, 2024
1 parent 9f2a7d6 commit 380ded2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/tree/tenants/TenantResourceTreeDataProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ export class TenantResourceTreeDataProvider extends ResourceTreeDataProviderBase
iconPath: new vscode.ThemeIcon('account'),
contextValue: 'accountName',
collapsibleState: vscode.TreeItemCollapsibleState.Expanded,
checkboxState: vscode.TreeItemCheckboxState.Checked,
}));
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/tree/tenants/registerTenantTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async function updateTenantsSetting(_context: IActionContext, tenants: vscode.Tr
} else if (state === vscode.TreeItemCheckboxState.Checked) {
const treeItem = await tenantTreeItem.getTreeItem();
if (treeItem?.contextValue === 'tenantNameNotSignedIn') {
await vscode.commands.executeCommand('azureTenant.signInToTenant', tenantTreeItem,);
await vscode.commands.executeCommand('azureTenant.signInToTenant', tenantTreeItem, tenantTreeItem.account);
ext.actions.refreshTenantTree();
}
unselectedTenants.delete(getKeyForTenant(tenantTreeItem));
Expand Down

0 comments on commit 380ded2

Please sign in to comment.