mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-04 17:35:21 -05:00
fix unauthorized recipe (#499)
This commit is contained in:
@@ -27,7 +27,8 @@ export const recipeRoutes = [
|
||||
meta: {
|
||||
title: async route => {
|
||||
const recipe = await api.recipes.requestDetails(route.params.recipe);
|
||||
return recipe.name;
|
||||
if (recipe && recipe.name) return recipe.name;
|
||||
else return null;
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user