Nella Nazionalità non c'è Repubblica di San Marino Aggiungere Bottone di "Chiudi" nella visualizzazione della Card cerca persona, mettere solo una parte della parola da cercare... Gruppi sistemare il bottone di Nuovo e controllare altro.. adTypeBacheca per la tabella mybachecas (Evento, Offro, Cerco) Semplificare le CATEGORIE ?! o togliere la Specializzazione? (con Giovanna)
71 lines
2.0 KiB
TypeScript
Executable File
71 lines
2.0 KiB
TypeScript
Executable File
import {
|
|
defineComponent, ref, computed,
|
|
} from 'vue'
|
|
|
|
import { tools } from '@src/store/Modules/tools'
|
|
import { toolsext } from '@src/store/Modules/toolsext'
|
|
import { CSkill } from '@/components/CSkill'
|
|
import { CFinder } from '@/components/CFinder'
|
|
import { CDashboard } from '@/components/CDashboard'
|
|
import { CChartMap } from '@src/components/CChartMap'
|
|
import { CUserNonVerif } from '@/components/CUserNonVerif'
|
|
import { CTitlePage } from '@/components/CTitlePage'
|
|
import { CMapsEsempio } from '@src/components/CMapsEsempio'
|
|
import { CVerifyEmail } from '@src/components/CVerifyEmail'
|
|
import { CVerifyTelegram } from '@src/components/CVerifyTelegram'
|
|
import { useGlobalStore } from '@store/globalStore'
|
|
import { useUserStore } from '@store/UserStore'
|
|
import { static_data } from '@/db/static_data'
|
|
import MixinBase from '@/mixins/mixin-base'
|
|
import MixinUsers from '@/mixins/mixin-users'
|
|
|
|
import { colmyBachecas } from '@store/Modules/fieldsTable'
|
|
|
|
export default defineComponent({
|
|
name: 'bacheca',
|
|
components: { CSkill, CChartMap, CMapsEsempio, CFinder, CVerifyEmail, CVerifyTelegram, CDashboard, CUserNonVerif, CTitlePage },
|
|
setup() {
|
|
const globalStore = useGlobalStore()
|
|
const userStore = useUserStore()
|
|
const { getValDb } = MixinBase()
|
|
const { isEmailVerified, TelegVerificato } = MixinUsers()
|
|
|
|
function TelegCode() {
|
|
return userStore.my.profile.teleg_checkcode
|
|
}
|
|
|
|
function openrighttoolbar() {
|
|
globalStore.rightDrawerOpen = true
|
|
}
|
|
|
|
function isLogged() {
|
|
return userStore.isLogged
|
|
}
|
|
function isUserOk() {
|
|
return userStore.isUserOk()
|
|
}
|
|
|
|
function getLinkBotTelegram(): string {
|
|
if ( tools.isTest() && !process.env.DEV) {
|
|
return getValDb('TELEG_BOT_LINK_TEST', false)
|
|
} else{
|
|
return getValDb('TELEG_BOT_LINK', false)
|
|
}
|
|
}
|
|
|
|
return {
|
|
colmyBachecas,
|
|
tools,
|
|
toolsext,
|
|
static_data,
|
|
isEmailVerified,
|
|
TelegCode,
|
|
TelegVerificato,
|
|
isLogged,
|
|
openrighttoolbar,
|
|
isUserOk,
|
|
getLinkBotTelegram,
|
|
}
|
|
},
|
|
})
|