Skip to content

Commit

Permalink
fixed typo that broke fractions
Browse files Browse the repository at this point in the history
  • Loading branch information
vabene1111 committed Feb 18, 2021
1 parent 894d2d2 commit e727cae
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cookbook/static/vue/js/offline_view.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cookbook/static/vue/js/recipe_view.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vue/src/components/Ingredient.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<i class="far fa-check-circle text-primary" v-if="!ingredient.checked"></i>
</td>
<td>
<span v-if="ingredient.amount !== 0">{{ calculateAmount(ingredient.amount) }}</span>
<span v-if="ingredient.amount !== 0" v-html="calculateAmount(ingredient.amount)"></span>
</td>
<td>
<span v-if="ingredient.unit !== null && !ingredient.no_amount">{{ ingredient.unit.name }}</span>
Expand Down
Loading

0 comments on commit e727cae

Please sign in to comment.