Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #15 from gibkigonzo/bugfix/3
Browse files Browse the repository at this point in the history
close microcart when goes to checkout
  • Loading branch information
Tomasz Kostuch authored May 29, 2020
2 parents 2bf4d22 + 204f03a commit 64331c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pages/Checkout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ export default {
beforeCreate () {
registerModule(OrderModule)
},
mounted () {
this.$store.commit('ui/setMicrocart', false)
this.$store.commit('ui/setSidebar', false)
},
methods: {
notifyEmptyCart () {
this.$store.dispatch('notification/spawnNotification', {
Expand Down

0 comments on commit 64331c3

Please sign in to comment.