- piuchebuono: possiblità di modificare l'immagine dalla scheda direttamente
- migliorata di poco la grafica dell'immagine.
This commit is contained in:
@@ -5646,7 +5646,7 @@ module.exports = {
|
||||
|
||||
// mystr = t('movement.from') + userfrom + ' ' + t('movement.to') + userto
|
||||
|
||||
return { userfrom: {profile: profilefrom, username: userfrom}, userto: {profile: profileto, username: userto}, tipocontofrom, tipocontoto }
|
||||
return { userfrom: { profile: profilefrom, username: userfrom }, userto: { profile: profileto, username: userto }, tipocontofrom, tipocontoto }
|
||||
},
|
||||
|
||||
ImageDownloader,
|
||||
@@ -5703,8 +5703,20 @@ module.exports = {
|
||||
},
|
||||
// **ADDFIELD_ANNUNCI
|
||||
};
|
||||
|
||||
|
||||
return annunciFields;
|
||||
},
|
||||
},
|
||||
|
||||
// Funzione per pulire il nome del file
|
||||
cleanFileName(filePath) {
|
||||
// Ottieni solo il nome del file dall'intero percorso
|
||||
// const fileName = filePath.split('/').pop();
|
||||
|
||||
// Rimuovi apostrofi e sostituisci gli spazi con underscore
|
||||
const cleanedName = fileName.replace(/'/g, '').replace(/\s+/g, '_');
|
||||
|
||||
// Restituisci il percorso chiaro; puoi decidere di mantenere il resto del percorso
|
||||
return cleanedName;
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user