aboutsummaryrefslogtreecommitdiff
path: root/client/src/views/Product.vue
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/views/Product.vue')
-rw-r--r--client/src/views/Product.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/views/Product.vue b/client/src/views/Product.vue
index ff43857..d1fde29 100644
--- a/client/src/views/Product.vue
+++ b/client/src/views/Product.vue
@@ -47,7 +47,7 @@ export default {
this.$store.commit('addToCart');
},
remove() {
- this.$store.commit('removeFromCart');
+ this.$store.commit('removeFromCart', this.$route.params.id);
}
}
}