working on editing code so the modal emits from group-plans instead of from within the file

This commit is contained in:
CuriousMagpie
2022-08-01 17:11:15 -04:00
parent f5b632e3e5
commit 9bee9d0a06

View File

@@ -495,6 +495,13 @@ export default {
this.changePage(this.PAGES.CREATE_GROUP);
this.$root.$emit('bv::show::modal', 'group-plan-modal');
},
// launchModal () {
// this.$root.$on('group-plan-modal') {
// console.log('hello i am a modal');
// this.activePage = page;
// this.$root.$emit('bv::show::modal', 'group-plan-modal');
// };
// },
changePage (page) {
this.activePage = page;
window.scrollTo(0, 0);