mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-01 07:21:15 +00:00
working on editing code so the modal emits from group-plans instead of from within the file
This commit is contained in:
parent
f5b632e3e5
commit
9bee9d0a06
1 changed files with 7 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue