diff --git a/ogWebconsole/src/app/components/pxe/pxe/edit-pxe-template/edit-pxe-template.component.ts b/ogWebconsole/src/app/components/pxe/pxe/edit-pxe-template/edit-pxe-template.component.ts index eb30581..343aaa5 100644 --- a/ogWebconsole/src/app/components/pxe/pxe/edit-pxe-template/edit-pxe-template.component.ts +++ b/ogWebconsole/src/app/components/pxe/pxe/edit-pxe-template/edit-pxe-template.component.ts @@ -90,7 +90,7 @@ boot if (this.firstFormGroup.valid && this.secondFormGroup.valid) { const updatedTemplate = { name: this.firstFormGroup.value.name, - templateContent: this.previewContent.trim(), + templateContent: "this.previewContent.trim()", }; this.http.patch(`http://127.0.0.1:8080/pxe-templates/${this.data.uuid}`, updatedTemplate)