fixed fractional servings breaking importer
This commit is contained in:
parent
d1807f3c14
commit
cbb2c0460c
@ -453,7 +453,7 @@
|
||||
|
||||
<div class="form-group">
|
||||
<label for="id_servings">{% trans 'Servings' %}</label>
|
||||
<input id="id_servings" class="form-control" v-model="recipe_data.servings">
|
||||
<b-form-input id="id_servings" class="form-control" v-model="recipe_data.servings" @change="recipe_data.servings = Math.round($event.replace(',','.'))"></b-form-input>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user