- cataloghi...

- fix: condividi su Telegram non funzionava errore sull'immagine
This commit is contained in:
Surya Paolo
2024-11-02 18:06:12 +01:00
parent 3bdab927b6
commit b7ffd751dc
12 changed files with 145 additions and 48 deletions

View File

@@ -184,6 +184,12 @@ module.exports = {
// Condivise
TABLES_FAVORITE_BOOKMARK: ['myskills', 'mygoods', 'mybachecas', 'myhosps', 'attivitas'],
TABLEFORUSERS: [
'myskills',
'mygoods',
'mybachecas',
'myhosps',
],
// Solo per NODEJS
@@ -244,6 +250,7 @@ module.exports = {
TABLES_PERM_CHANGE_FOR_USERS: ['myskills', 'mybachecas', 'myhosps', 'mygoods'],
TABLES_POPULATE_DATA: [
{
table: 'adtypegoods',
@@ -911,6 +918,7 @@ module.exports = {
website: 1,
organisedBy: 1,
contact_phone: 1,
contact_email: 1,
contact_telegram: 1,
address: 1,
min_partecip: 1,
@@ -1012,6 +1020,15 @@ module.exports = {
return (trovatorec) ? trovatorec.label : ''
},
getDirectoryImgByTable(table, username) {
if (this.TABLEFORUSERS.includes(table)) {
ris = 'profile/' + username + '/' + table + '/';
}
return ris;
},
ButtonCodeAction: {
NONE: 0,
NEXT_10: 1,