1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-19 13:19:41 +02:00

fix: recipe scaling (#4324)

This commit is contained in:
Kuchenpirat 2024-10-07 18:31:49 +02:00 committed by GitHub
parent a559335bd7
commit 56bd68d824
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,7 +102,7 @@ export default defineComponent({
const numberParsed = !!props.basicYieldNum;
watch(() => numerator.value, () => {
scale.value = parseFloat((numerator.value / denominator).toFixed(3));
scale.value = parseFloat((numerator.value / denominator).toFixed(32));
});
const disableDecrement = computed(() => {
return numerator.value <= 1;