Always display ingredients in edit mode (#543)

* Always display ingredients in edit mode

Fixes #538

* Remove unused code

Was wrongfully commited
This commit is contained in:
sephrat 2021-06-17 17:11:52 +02:00 committed by GitHub
parent e2c7e24224
commit 1d7c06352c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
<template>
<div v-if="value && value.length > 0">
<div v-if="edit || ( value && value.length > 0 )">
<h2 class="mb-4">{{ $t("recipe.ingredients") }}</h2>
<div v-if="edit">
<draggable :value="value" @input="updateIndex" @start="drag = true" @end="drag = false" handle=".handle">