Skip to content

Commit

Permalink
Add missing optional string #135
Browse files Browse the repository at this point in the history
  • Loading branch information
karlomikus committed Nov 7, 2023
1 parent 206d2c7 commit c55a103
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 c55a103

Please sign in to comment.