- added Aportador Solidario to registration
- added email_paypal and username_telegram
This commit is contained in:
@@ -11,5 +11,17 @@ import { CSignUp } from '../../../components/CSignUp'
|
||||
|
||||
export default class Signup extends Vue {
|
||||
public $t: any
|
||||
public adult: boolean = false
|
||||
|
||||
@Watch('$route.params.invited')
|
||||
public changeadult() {
|
||||
console.log('$route.params.invited')
|
||||
this.adult = !!this.$route.params.invited
|
||||
}
|
||||
|
||||
public created() {
|
||||
if (!tools.getCookie(tools.APORTADOR_SOLIDARIO, ''))
|
||||
tools.setCookie(tools.APORTADOR_SOLIDARIO, this.$route.params.invited)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<q-page padding class="signup">
|
||||
<CSignUp>
|
||||
<CSignUp :adult="adult">
|
||||
|
||||
</CSignUp>
|
||||
</q-page>
|
||||
|
||||
Reference in New Issue
Block a user