- Assegnazione di linkIdTemplate anche per la "Pagina di Default", in modo che posso da "Templates" cambiare le impostazioni.
This commit is contained in:
@@ -7606,11 +7606,13 @@ export const tools = {
|
||||
}
|
||||
}
|
||||
},
|
||||
getFullFileNameByImageFile(table: string, imagefile: string) {
|
||||
getFullFileNameByImageFile(table: string, imagefile: string, id: string) {
|
||||
// console.log('arrimage', arrimage)
|
||||
|
||||
if (shared_consts.TABLES_IMAGEFILE_SINGOLO.includes(table)) {
|
||||
return this.getDirUpload() + `products/` + imagefile;
|
||||
} else if (table === 'catalogs') {
|
||||
return this.getDirUpload() + `catalogs/` + id + '/' + imagefile;
|
||||
}
|
||||
return imagefile;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user