Merge pull request #750 from dod-ccpo/modal-freeze-fix

Emit event from root when modal closes
This commit is contained in:
dandds 2019-04-10 09:13:53 -04:00 committed by GitHub
commit 532529eb6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()
},