Skip to content

Commit

Permalink
Merge pull request #136 from karlomikus/develop
Browse files Browse the repository at this point in the history
Add missing optional string #135
  • Loading branch information
karlomikus authored Nov 12, 2023
2 parents 6eb3968 + c55a103 commit 7ed2d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Cocktail/CocktailIngredientShare.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="cocktail-ingredient-share" itemprop="recipeIngredient" :content="name + ' - ' + amount">
<div class="cocktail-ingredient-share__ingredient-name">
<span>{{ name }}</span>
<span>{{ name }} <template v-if="cocktailIngredient.optional">({{ $t('optional') }})</template></span>
<span v-if="cocktailIngredient.substitutes.length > 0" class="cocktail-ingredient-share__ingredient-substitutes">
{{ $t('substitutes') }}: {{ substitutes }}
</span>
Expand Down

0 comments on commit 7ed2d17

Please sign in to comment.