Skip to content

Commit

Permalink
Right variable
Browse files Browse the repository at this point in the history
  • Loading branch information
BobWez98 committed Nov 14, 2024
1 parent 69a04b0 commit 49568d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/stores/useCart.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export const cart = computed({
)

value.items = value.items.map((cartItem) => {
item.is_available = checkAvailability(item)
cartItem.is_available = checkAvailability(item)
cartItem.product.attribute_values = {}

for (const key in mapping) {
Expand Down

0 comments on commit 49568d4

Please sign in to comment.