Skip to content

Commit

Permalink
fix(vuex): prevent editing original item _id on fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 committed Jun 30, 2020
1 parent 68e6ad7 commit 25a7b6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions @ecomplus/storefront-app/src/store/modules/checkout.js
Expand Up @@ -168,6 +168,7 @@ const actions = {
}
const price = getPrice(data)
Object.assign(item, data, {
_id,
variations: [],
price,
final_price: price,
Expand Down

0 comments on commit 25a7b6a

Please sign in to comment.