diff --git a/frontend/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageInstructions.vue b/frontend/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageInstructions.vue index 07632fdd1..4cd7eadde 100644 --- a/frontend/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageInstructions.vue +++ b/frontend/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageInstructions.vue @@ -130,11 +130,10 @@ ghostClass: 'ghost', }" @start="drag = true" - @end="drag = false" + @end="onDragEnd" >
{ - context.emit("update:modelValue", [...newVal]); - }, - { deep: true }, - ); + function onDragEnd() { + context.emit("update:modelValue", [...instructionList.value]); + drag.value = false; + } // =============================================================== // Ingredient Linker @@ -784,6 +780,7 @@ export default defineNuxtComponent({ loadingStates, // Rest + onDragEnd, drag, togglePreviewState, toggleCollapseSection,