Current recipe id was not set
This commit is contained in:
parent
812ba9dc3b
commit
9dccd553bc
5 changed files with 28 additions and 12 deletions
|
|
@ -22,8 +22,13 @@ pub async fn recipes_list_fragments(
|
|||
) -> Result<impl IntoResponse> {
|
||||
Ok(Html(
|
||||
RecipesListFragmentTemplate {
|
||||
recipes: Recipes::new(connection, &context.user, context.tr.current_lang_code())
|
||||
.await?,
|
||||
recipes: Recipes::new(
|
||||
connection,
|
||||
&context.user,
|
||||
context.tr.current_lang_code(),
|
||||
current_recipe.current_recipe_id,
|
||||
)
|
||||
.await?,
|
||||
context,
|
||||
}
|
||||
.render()?,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue