From a455b3a3aae83594c94011ed6304bf7e54829551 Mon Sep 17 00:00:00 2001 From: jableader Date: Sat, 18 Oct 2025 14:51:02 +1100 Subject: [PATCH] Edit recipe page default id --- src/components/recipes/EditRecipePage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/recipes/EditRecipePage.vue b/src/components/recipes/EditRecipePage.vue index 1ad915a..600f2c9 100644 --- a/src/components/recipes/EditRecipePage.vue +++ b/src/components/recipes/EditRecipePage.vue @@ -76,7 +76,7 @@ import { getRecipe, parseRecipe, saveRecipe as saveRecipeApi, deleteRecipe as de import EditableIngredientsPanel from '@/components/ingredients/EditableIngredientsPanel.vue' const props = defineProps({ - id: { type: Number, required: false }, + id: { type: Number, required: false, default: undefined }, }) const router = useRouter()