Emit event from root when modal closes
This commit is contained in:
parent
5236c94901
commit
1e6d26de82
@ -4,7 +4,7 @@ export default {
|
||||
methods: {
|
||||
closeModal: function(name) {
|
||||
this.activeModal = null
|
||||
this.$emit('modalOpen', false)
|
||||
this.$root.$emit('modalOpen', { isOpen: false, name: name })
|
||||
if (this.allyHandler) this.allyHandler.disengage()
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user