actual meal plan fixes

This commit is contained in:
vabene1111
2021-06-13 18:11:31 +02:00
parent 528da111f9
commit 5db7267a7d

View File

@@ -701,10 +701,10 @@
let first = true let first = true
for (let se of this.shopping_list) { for (let se of this.shopping_list) {
if (first) { if (first) {
url += `?r=[${se.recipe},${se.servings}]` url += `?r=[${se.recipe.id},${se.servings}]`
first = false first = false
} else { } else {
url += `&r=[${se.recipe},${se.servings}]` url += `&r=[${se.recipe.id},${se.servings}]`
} }
} }
return url return url