Edit recipe page default id
This commit is contained in:
parent
bd99d90c09
commit
a455b3a3aa
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue