Pagina con i link dei Canali territoriali di RISO

Lista Tabelle "Aggiungi" da errore userId...
Aggiunto "Servizi" e alcune sue sottocategorie
Aggiunto anche la conversione della foto piccola alla Foto Profilo
This commit is contained in:
paoloar77
2022-03-09 14:53:17 +01:00
parent 267dca3f15
commit 00939b053a
38 changed files with 722 additions and 741 deletions

View File

@@ -2024,6 +2024,7 @@ export const tools = {
mylang = 'si'
}
if (!(static_data.arrLangUsed.includes(mylang))) {
// console.log('non incluso ', mylang)
// mylang = static_data.arrLangUsed[0]
@@ -4133,6 +4134,18 @@ export const tools = {
return false
},
getUsername() {
const userStore = useUserStore()
try {
if (!!userStore)
return userStore.my.username
else
return false
}catch (e) {
return ''
}
},
isUserOk() {
const userStore = useUserStore()
if (!!userStore)
@@ -5015,6 +5028,11 @@ export const tools = {
return userStore.isTelegOk()
},
isUsernameTelegOk() {
const userStore = useUserStore()
return userStore.isUsernameTelegOk()
},
getParamsByTable(table: string) {
let obj = {