Refactor modals so they work when nested in other components and fix BaseForm so it doesn't repeat ModalMixin logic
This commit is contained in:
@@ -10,7 +10,7 @@ export default {
|
||||
|
||||
openModal: function(name) {
|
||||
this.activeModal = name
|
||||
this.$emit('modalOpen', true)
|
||||
this.$root.$emit('modalOpen', { isOpen: true, name: name })
|
||||
const idSelector = `#${this.modalId}`
|
||||
|
||||
this.allyHandler = ally.maintain.disabled({
|
||||
|
Reference in New Issue
Block a user