mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 01:25:37 -05:00
Firewall Dialog Account/Tenant Selection (#22695)
* preselect account in firewall dialog from connection details * cleanup * fix element reference * add initial tenant selection * fix compile & cleanup * pr comments * change to private
This commit is contained in:
@@ -322,6 +322,10 @@ export class FirewallRuleDialog extends Modal {
|
||||
}
|
||||
}
|
||||
|
||||
public setInitialAccountTenant(account: string, tenant: string) {
|
||||
this._accountPickerService.setInitialAccountTenant(account, tenant);
|
||||
}
|
||||
|
||||
public onAccountSelectionChange(account: azdata.Account | undefined): void {
|
||||
this.viewModel.selectedAccount = account;
|
||||
if (account && !account.isStale) {
|
||||
|
||||
Reference in New Issue
Block a user