mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
Enable script button for Server properties (#24201)
* enable script button * remove override method
This commit is contained in:
@@ -50,7 +50,6 @@ export class ServerPropertiesDialog extends ObjectManagementDialogBase<Server, S
|
||||
|
||||
constructor(objectManagementService: IObjectManagementService, options: ObjectManagementDialogOptions) {
|
||||
super(objectManagementService, options);
|
||||
this.dialogObject.customButtons[1].enabled = false;
|
||||
}
|
||||
|
||||
protected override get helpUrl(): string {
|
||||
@@ -69,11 +68,6 @@ export class ServerPropertiesDialog extends ObjectManagementDialogBase<Server, S
|
||||
return helpUrl;
|
||||
}
|
||||
|
||||
protected override onFormFieldChange(): void {
|
||||
this.dialogObject.customButtons[1].enabled = false;
|
||||
this.dialogObject.okButton.enabled = this.isDirty;
|
||||
}
|
||||
|
||||
protected async initializeUI(): Promise<void> {
|
||||
const serverInfo = await azdata.connection.getServerInfo(this.options.objectExplorerContext.connectionProfile.id);
|
||||
this.engineEdition = serverInfo.engineEditionId;
|
||||
|
||||
Reference in New Issue
Block a user