Skip to content

Commit

Permalink
Emit event fix
Browse files Browse the repository at this point in the history
  • Loading branch information
royduin committed Apr 15, 2022
1 parent 1117d8d commit 1bfb884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/User/mixins/InteractWithUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default {
await this.refreshUser(false)

this.setCheckoutCredentialsFromDefaultUserAddresses()
await this.$root.$emit('logged-in')
await window.app.$emit('logged-in')
if (loginCallback) {
await loginCallback()
}
Expand Down

0 comments on commit 1bfb884

Please sign in to comment.