Enable script button for Server properties (#24201)
* enable script button * remove override method
This commit is contained in:
Родитель
7ec0899784
Коммит
41ad39f665
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче