improved recipe card time pill
This commit is contained in:
parent
77f0bf3628
commit
e4924f9d27
2
vue/src/components/RecipeCard.vue
Normal file → Executable file
2
vue/src/components/RecipeCard.vue
Normal file → Executable 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>
|
||||
|
Loading…
Reference in New Issue
Block a user