Still product blanking bugs

This commit is contained in:
jableader 2024-01-17 23:32:07 +11:00
parent d070b7dcf7
commit 8a989bc1d0

View file

@ -29,8 +29,8 @@ export default {
watch: { watch: {
ingredient: { ingredient: {
handler: function (newIngredient) { handler: function (newIngredient) {
this.ingredientText = newIngredient?.line ?? this.ingredientText; this.ingredientText = newIngredient?.line ?? "";
this.productLink = newIngredient.product?.link ?? this.productLink; this.productLink = newIngredient.product?.link ?? "";
}, },
deep: true, deep: true,
}, },