using model instead of ViewData

This commit is contained in:
franc
2025-04-28 16:06:01 +02:00
parent c001fee09d
commit 93162f3a4b
@@ -28,7 +28,7 @@
}
});
const recipeId = '@ViewData["RecipeId"]';
const recipeId = '@Model.RecipeId';
async function moveInstructionUp(instructionId) {
try {