Merge branch 'develop' into improvement/multiselect_localization

This commit is contained in:
vabene1111
2022-03-01 15:55:27 +01:00
committed by GitHub
9 changed files with 62 additions and 42 deletions

View File

@ -818,7 +818,7 @@ export default {
no_amount: false,
})
this.sortIngredients(step)
this.$nextTick(() => document.getElementById(`amount_${this.recipe.steps.indexOf(step)}_${step.ingredients.length - 1}`).focus())
this.$nextTick(() => document.getElementById(`amount_${this.recipe.steps.indexOf(step)}_${step.ingredients.length - 1}`).select())
},
removeIngredient: function (step, ingredient) {
if (confirm(this.$t("confirm_delete", { object: this.$t("Ingredient") }))) {