Version 0.2.7 (2)

This commit is contained in:
paoloar77
2022-02-21 18:54:16 +01:00
parent 36f53334ed
commit 3f81f85bd4
8 changed files with 22 additions and 14 deletions

View File

@@ -619,7 +619,7 @@ export const colmyGoods = [
label_trans: 'adTypes.name',
fieldtype: costanti.FieldType.select,
required: true,
jointable: 'adtypegoods',
jointable: 'adtypes',
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit,
icon: 'fas fa-bullhorn',
noshowlabel: true,

View File

@@ -5012,6 +5012,15 @@ export const tools = {
return ''
},
getFullFileName(arrimage: IImgGallery[], table: string, username: string) {
if (arrimage && arrimage.length > 0) {
return 'upload/profile/' + username + '/' + table + '/' + arrimage[0].imagefile
} else {
return ''
}
},
// getLocale() {
// if (navigator.languages && navigator.languages.length > 0) {
// return navigator.languages[0]