fix: non riuscivi ad acquistare i RIS al gruppo
- lista linkREG
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import { tools } from '@tools'
|
||||
import { costanti } from '@costanti'
|
||||
import { computed, defineComponent, onMounted, reactive, ref, watch } from 'vue'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { CContactUser } from '@src/components/CContactUser'
|
||||
import { CMyUser } from '@src/components/CMyUser'
|
||||
import { DefaultProfile, useUserStore } from '@store/UserStore'
|
||||
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
@@ -11,7 +14,7 @@ import { useGlobalStore } from '@store/globalStore'
|
||||
export default defineComponent({
|
||||
name: 'CRegistration',
|
||||
emits: ['regEventEmail'],
|
||||
components: {},
|
||||
components: { CMyUser, CContactUser },
|
||||
props: {
|
||||
invited: {
|
||||
type: String,
|
||||
@@ -43,8 +46,12 @@ export default defineComponent({
|
||||
const noInvited = ref(false)
|
||||
const start = ref(false)
|
||||
|
||||
const listlinksreg = computed(() => globalStore.datastat ? globalStore.datastat.listlinksreg : [])
|
||||
|
||||
const slide = ref('start')
|
||||
|
||||
const actionType = ref(costanti.ACTIONTYPE.LINK_REG)
|
||||
|
||||
function clickToRegister() {
|
||||
|
||||
//if (site.value.confpages.enableRegByBot) {
|
||||
@@ -59,6 +66,8 @@ export default defineComponent({
|
||||
const invitante = tools.getInvitante()
|
||||
console.log('invitante', invitante)
|
||||
|
||||
|
||||
|
||||
if (props.invited) {
|
||||
start.value = true
|
||||
chooseReg.value = true
|
||||
@@ -99,6 +108,9 @@ export default defineComponent({
|
||||
slide,
|
||||
regEventEmail,
|
||||
buttRegistrati,
|
||||
costanti,
|
||||
listlinksreg,
|
||||
actionType,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user