- cataloghi...
- fix: condividi su Telegram non funzionava errore sull'immagine
This commit is contained in:
@@ -7895,7 +7895,7 @@ export const tools = {
|
||||
},
|
||||
|
||||
getTitleGall(table: string) {
|
||||
if (fieldsTable.tableForUsers.includes(table)) {
|
||||
if (shared_consts.TABLEFORUSERS.includes(table)) {
|
||||
return 'Profilo'
|
||||
} else {
|
||||
return fieldsTable.getTitleImgByTable(table)
|
||||
@@ -7919,7 +7919,7 @@ export const tools = {
|
||||
if (username === '') {
|
||||
username = userStore.my.username
|
||||
}
|
||||
if (fieldsTable.tableForUsers.includes(table)) {
|
||||
if (shared_consts.TABLEFORUSERS.includes(table)) {
|
||||
ris = 'profile/' + username + '/' + table
|
||||
} else if (table === 'users') {
|
||||
ris = 'profile/' + userStore.my.username
|
||||
@@ -8271,6 +8271,30 @@ export const tools = {
|
||||
return null
|
||||
},
|
||||
|
||||
getNomeTabellaStrByTable(table: string, rec: any) {
|
||||
let str = ''
|
||||
let nome = ''
|
||||
if (table === toolsext.TABMYBACHECAS) {
|
||||
nome = rec ? rec.descr : ''
|
||||
str = 'l\'Evento "' + nome + '"'
|
||||
} else if (table === toolsext.TABMYSKILLS) {
|
||||
nome = rec ? rec.descr : ''
|
||||
str = 'il Servizio "' + nome + '"'
|
||||
} else if (table === toolsext.TABMYGOODS) {
|
||||
nome = rec ? rec.descr : ''
|
||||
str = 'il Bene "' + nome + '"'
|
||||
} else if (table === toolsext.TABMYHOSPS) {
|
||||
nome = rec ? rec.descr : ''
|
||||
str = 'l\'Ospitalità "' + nome + '"'
|
||||
}
|
||||
|
||||
if (!str) {
|
||||
str = 'il record selezionato'
|
||||
}
|
||||
|
||||
return str
|
||||
},
|
||||
|
||||
extraparams(table: string, extra?: any) {
|
||||
if (table === toolsext.TABMYGROUPS) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user