Merge pull request #2987 from pengpengshui/master

[BAT]fix #2986 about configration save button issue
This commit is contained in:
Steven Zou 2017-08-08 16:10:08 +08:00 committed by GitHub
commit 49f52ef8f8

View File

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