mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 05:11:31 -05:00
new file system updates
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user