updates: add demographic strings & drop-down and translated array code

This commit is contained in:
CuriousMagpie
2022-08-02 18:34:09 -04:00
parent 999071a15c
commit bd28a282df
5 changed files with 189 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
<template>
<!-- @TODO: Move to group plans folder-->
<div>
<group-plan-creation=modal />
<group-plan-creation-modal />
<div>
<div class="header">
<h1 class="text-center">
@@ -115,7 +115,7 @@
<div class="col-12 text-center">
<button
class="btn btn-primary create-group"
@click="launchModal('group-plan-creation-modal')"
@click="launchModal('create-page')"
>
Create Your New Group
</button>
@@ -399,14 +399,14 @@ export default {
},
methods: {
launchModal () {
console.log('hello world');
this.changePage(this.PAGES.CREATE_GROUP);
this.$root.$emit('bv::show::modal', 'group-plan-creation-modal');
},
changePage (page) {
this.activePage = page;
window.scrollTo(0, 0);
console.log('i am creating a group');
// this.changePage(this.PAGES.CREATE_GROUP);
this.$root.$emit('bv::show::modal', 'create-group');
},
// changePage (page) {
// this.activePage = 'page';
// window.scrollTo(0, 0);
// },
createGroup () {
this.changePage(this.PAGES.PAY);
},