mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-01 09:35:41 -05:00
Removes Builder references from modal (#4869)
* remove builder from modal * add more DOM methods
This commit is contained in:
@@ -124,12 +124,12 @@ export class FirewallRuleDialog extends Modal {
|
||||
});
|
||||
|
||||
// Create account picker with event handling
|
||||
this._accountPickerService.addAccountCompleteEvent(() => this.hideSpinner());
|
||||
this._accountPickerService.addAccountCompleteEvent(() => this.spinner = false);
|
||||
this._accountPickerService.addAccountErrorEvent((msg) => {
|
||||
this.hideSpinner();
|
||||
this.spinner = false;
|
||||
this._onAddAccountErrorEmitter.fire(msg);
|
||||
});
|
||||
this._accountPickerService.addAccountStartEvent(() => this.showSpinner());
|
||||
this._accountPickerService.addAccountStartEvent(() => this.spinner = true);
|
||||
this._accountPickerService.onAccountSelectionChangeEvent((account) => this.onAccountSelectionChange(account));
|
||||
|
||||
let azureAccountSection;
|
||||
@@ -297,7 +297,7 @@ export class FirewallRuleDialog extends Modal {
|
||||
public createFirewallRule() {
|
||||
if (this._createButton.enabled) {
|
||||
this._createButton.enabled = false;
|
||||
this.showSpinner();
|
||||
this.spinner = true;
|
||||
this._onCreateFirewallRule.fire();
|
||||
}
|
||||
}
|
||||
@@ -313,7 +313,7 @@ export class FirewallRuleDialog extends Modal {
|
||||
|
||||
public onServiceComplete() {
|
||||
this._createButton.enabled = true;
|
||||
this.hideSpinner();
|
||||
this.spinner = false;
|
||||
}
|
||||
|
||||
public open() {
|
||||
|
||||
Reference in New Issue
Block a user