fixed fractional servings breaking importer

This commit is contained in:
vabene1111 2021-09-14 21:54:08 +02:00
parent d1807f3c14
commit cbb2c0460c

View File

@ -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>