- cataloghi...
- fix: condividi su Telegram non funzionava errore sull'immagine
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user