- Installazione primo Sito Web del server
- Creazione prima pagina Home
This commit is contained in:
@@ -641,7 +641,12 @@ export const useUserStore = defineStore('UserStore', {
|
||||
if (globalStore.site.confpages && globalStore.site.confpages.enableRegMultiChoice) {
|
||||
return ((this.isTelegIdOk() && this.isUsernameTelegOk()) || this.my.verified_email!) && this.my.verified_by_aportador!
|
||||
} else {
|
||||
return this.isTelegIdOk() && this.my.verified_by_aportador! && this.isUsernameTelegOk()
|
||||
//if (tools.getAskToVerifyReg()) {
|
||||
if (globalStore.site.confpages && globalStore.site.confpages.enabledRegNeedTelegram) {
|
||||
return this.isTelegIdOk() && this.my.verified_by_aportador! && this.isUsernameTelegOk()
|
||||
} else {
|
||||
return this.my.verified_email!
|
||||
}
|
||||
}
|
||||
// return this.my.verified_email! && this.isTelegIdOk() && this.my.verified_by_aportador!
|
||||
},
|
||||
@@ -1393,7 +1398,7 @@ export const useUserStore = defineStore('UserStore', {
|
||||
|
||||
// console.log('this.isLogged', this.isLogged, 'isok', isok, 'isLogged', isLogged)
|
||||
|
||||
if (globalStore.site.confpages.enableTodos)
|
||||
if (globalStore.site.confpages && globalStore.site.confpages.enableTodos)
|
||||
await todos.dbLoad({ checkPending: true })
|
||||
|
||||
if (globalStore.site.confpages.enableProj)
|
||||
@@ -1909,6 +1914,12 @@ export const useUserStore = defineStore('UserStore', {
|
||||
showButtonSendCoin(myuser: IUserFields) {
|
||||
const oldway = false
|
||||
|
||||
const globalStore = useGlobalStore()
|
||||
|
||||
if (globalStore.site && !globalStore.site.confpages.showCoins) {
|
||||
return false
|
||||
}
|
||||
|
||||
if (oldway)
|
||||
return this.getMyCircuitsInCommonByUser(myuser).length > 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user