From 16d0fc38f94b4db319e2d70321bfa4ade001f423 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Wed, 9 Nov 2022 14:01:03 +0100 Subject: [PATCH] improved paste ingredient function to retain order and add to correct step --- .../apps/RecipeEditView/RecipeEditView.vue | 30 +++++++++++-------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/vue/src/apps/RecipeEditView/RecipeEditView.vue b/vue/src/apps/RecipeEditView/RecipeEditView.vue index ad5bf5d2c..e2c748607 100644 --- a/vue/src/apps/RecipeEditView/RecipeEditView.vue +++ b/vue/src/apps/RecipeEditView/RecipeEditView.vue @@ -308,7 +308,7 @@ size="sm" class="ml-1 mb-1 mb-md-0" @click=" - paste_step = step.id + paste_step = step $bvModal.show('id_modal_paste_ingredients') " > @@ -581,12 +581,14 @@ {{ $t("Copy") }} - -