improved recipe card time pill

This commit is contained in:
vabene1111 2021-11-01 11:24:28 +01:00
parent 77f0bf3628
commit e4924f9d27

2
vue/src/components/RecipeCard.vue Normal file → Executable file
View File

@ -12,7 +12,7 @@
</a>
</div>
<div class="card-img-overlay w-50 d-flex flex-column justify-content-left float-left text-left pt-2"
v-if="recipe.working_time !== 0 && recipe.waiting_time !== 0">
v-if="recipe.working_time !== 0 || recipe.waiting_time !== 0">
<b-badge pill variant="light" class="mt-1 font-weight-normal" v-if="recipe.working_time !== 0"><i class="fa fa-clock"></i>
{{ recipe.working_time }} {{ $t('min') }}
</b-badge>