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

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