remove double quotes from path
This commit is contained in:
parent
a9ebdf6785
commit
3b2c70422a
1 changed files with 3 additions and 1 deletions
|
|
@ -223,6 +223,7 @@
|
||||||
index: -1,
|
index: -1,
|
||||||
"prep-cmd": [],
|
"prep-cmd": [],
|
||||||
detached: [],
|
detached: [],
|
||||||
|
"image-path": ""
|
||||||
};
|
};
|
||||||
this.editForm.index = -1;
|
this.editForm.index = -1;
|
||||||
this.showEditForm = true;
|
this.showEditForm = true;
|
||||||
|
|
@ -253,6 +254,7 @@
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
save() {
|
save() {
|
||||||
|
this.editForm["image-path"] = this.editForm["image-path"].toString().replace(/"/g, '');
|
||||||
fetch("/api/apps", {
|
fetch("/api/apps", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify(this.editForm),
|
body: JSON.stringify(this.editForm),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue