new file system updates

This commit is contained in:
vabene1111
2021-06-09 14:02:33 +02:00
parent d4e332456b
commit 061aefd233
12 changed files with 87 additions and 21 deletions

View File

@@ -598,9 +598,7 @@
this.sortSteps()
for (let s of this.recipe.steps) {
this.sortIngredients(s)
if (s.file !== null){
delete s.file.file //TODO stupid quick hack because I cant figure out how to fix the writable serializer right now
}
}
this.$http.put("{% url 'api:recipe-detail' recipe.pk %}", this.recipe,
{}).then((response) => {