fix #2986 about configration save button issue

This commit is contained in:
pengpengshui 2017-08-08 15:13:58 +08:00
parent fb8e700e30
commit 700d3141b4

View File

@ -103,7 +103,8 @@ export class CreateEditEndpointComponent implements AfterViewChecked, OnDestroy
!this.onGoing &&
this.targetForm &&
this.targetForm.valid &&
this.editable;
this.editable &&
(this.targetNameHasChanged || this.endpointHasChanged);
}
public get inProgress(): boolean {