Skip to content

Commit

Permalink
CHANGE QuantityInput.vue - fix maximum tooltip & fetch basket qty aft…
Browse files Browse the repository at this point in the history
…er variation change (#2972)
  • Loading branch information
cjohannsen authored Jul 13, 2021
1 parent 59b58b3 commit 7ee6737
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion resources/js/src/app/components/item/QuantityInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default {
return this.$translate(
"Ceres::Template.singleItemQuantityMax",
{
max: this.$options.filters.numberFormat(this.Max)
max: this.$options.filters.numberFormat(this.max)
}
);
},
Expand All @@ -184,6 +184,14 @@ export default {
watch:
{
variationId(newValue)
{
if (isDefined(newValue))
{
this.fetchQuantityFromBasket();
}
},
basketItems:
{
handler(newValue, oldValue)
Expand Down

0 comments on commit 7ee6737

Please sign in to comment.