fixed make header not removing food/unit/amount

This commit is contained in:
vabene1111 2022-09-09 18:18:29 +02:00
parent 40c85c512c
commit ba235b26b7

View File

@ -546,7 +546,7 @@
<button type="button" class="dropdown-item"
v-if="!ingredient.is_header"
@click="ingredient.is_header = true">
@click="ingredient.is_header = true; ingredient.food=null; ingredient.amount=0; ingredient.unit=null">
<i class="fas fa-heading fa-fw"></i>
{{ $t("Make_Header") }}
</button>