- cataloghi...

- fix: condividi su Telegram non funzionava errore sull'immagine
This commit is contained in:
Surya Paolo
2024-11-02 18:06:27 +01:00
parent 2ea6468100
commit 1c63b5346b
91 changed files with 2105 additions and 306 deletions

View File

@@ -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) {