fixed meal plan notes and recipe links

This commit is contained in:
vabene1111
2021-04-29 17:15:06 +02:00
parent cc34496c00
commit 239ba5f861
2 changed files with 2 additions and 2 deletions

View File

@@ -670,7 +670,7 @@
}
},
planDetailRecipeUrl: function () {
return "{% url 'view_recipe' 12345 %}".replace(/12345/, this.plan_detail.recipe);
return "{% url 'view_recipe' 12345 %}".replace(/12345/, this.plan_detail.recipe.id);
},
planDetailEditUrl: function () {
return "{% url 'edit_meal_plan' 12345 %}".replace(/12345/, this.plan_detail.id);