From e4319608cd4eef2c855bc7ef2786ea6e1c5c75d1 Mon Sep 17 00:00:00 2001 From: apuente Date: Wed, 14 Aug 2024 17:30:23 +0200 Subject: [PATCH] Sidebar changes --- .../pxe/pxe/edit-pxe-template/edit-pxe-template.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)