|
|
@@ -22,7 +22,7 @@ class SubIngredient{
|
|
|
console.log(this._ingredient);
|
|
|
console.log(this._parent);
|
|
|
console.log(this._parent.unit);
|
|
|
- return `${parseFloat(this._quantity.toFixed(2))} ${this.ingredient.unit} / ${this._parent.quantity} ${this._parent.unit}`;
|
|
|
+ return `${parseFloat(this.quantity.toFixed(2))} ${this.unit} / ${this._parent.unit}`;
|
|
|
}
|
|
|
}
|
|
|
|