diff --git a/src/ui_ng/lib/src/create-edit-endpoint/create-edit-endpoint.component.ts b/src/ui_ng/lib/src/create-edit-endpoint/create-edit-endpoint.component.ts index 9ad2728ff..760c305b0 100644 --- a/src/ui_ng/lib/src/create-edit-endpoint/create-edit-endpoint.component.ts +++ b/src/ui_ng/lib/src/create-edit-endpoint/create-edit-endpoint.component.ts @@ -203,6 +203,7 @@ export class CreateEditEndpointComponent implements AfterViewChecked { let payload: Endpoint = this.initEndpoint; if(this.targetNameHasChanged) { payload.name = this.target.name; + delete payload.endpoint; } if (this.endpointHasChanged) { payload.endpoint = this.target.endpoint; diff --git a/src/ui_ng/lib/src/endpoint/endpoint.component.html.ts b/src/ui_ng/lib/src/endpoint/endpoint.component.html.ts index 1b0b4a419..926d79083 100644 --- a/src/ui_ng/lib/src/endpoint/endpoint.component.html.ts +++ b/src/ui_ng/lib/src/endpoint/endpoint.component.html.ts @@ -16,10 +16,10 @@ export const ENDPOINT_TEMPLATE: string = `