using model instead of ViewData
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
const recipeId = '@ViewData["RecipeId"]';
|
||||
const recipeId = '@Model.RecipeId';
|
||||
|
||||
async function moveInstructionUp(instructionId) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user