From 3b2c70422a7c143eb8c499ad42ecf67b673c8fed Mon Sep 17 00:00:00 2001 From: Christophe Fajardo Date: Thu, 3 Feb 2022 22:02:36 +0100 Subject: [PATCH] remove double quotes from path --- assets/web/apps.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/web/apps.html b/assets/web/apps.html index 524020a1..9c21fe63 100644 --- a/assets/web/apps.html +++ b/assets/web/apps.html @@ -223,6 +223,7 @@ index: -1, "prep-cmd": [], detached: [], + "image-path": "" }; this.editForm.index = -1; this.showEditForm = true; @@ -253,6 +254,7 @@ }); }, save() { + this.editForm["image-path"] = this.editForm["image-path"].toString().replace(/"/g, ''); fetch("/api/apps", { method: "POST", body: JSON.stringify(this.editForm), @@ -272,4 +274,4 @@ .monospace { font-family: monospace; } - + \ No newline at end of file