Edit recipe page default id

This commit is contained in:
jableader 2025-10-18 14:51:02 +11:00
parent bd99d90c09
commit a455b3a3aa

View file

@ -76,7 +76,7 @@ import { getRecipe, parseRecipe, saveRecipe as saveRecipeApi, deleteRecipe as de
import EditableIngredientsPanel from '@/components/ingredients/EditableIngredientsPanel.vue' import EditableIngredientsPanel from '@/components/ingredients/EditableIngredientsPanel.vue'
const props = defineProps({ const props = defineProps({
id: { type: Number, required: false }, id: { type: Number, required: false, default: undefined },
}) })
const router = useRouter() const router = useRouter()