InfiniteScroll: Le liste (Beni / Servizi / Eventi) devono essere caricate in automatico, scorrendo la lista...
fix category
This commit is contained in:
@@ -2258,6 +2258,12 @@ export const tools = {
|
||||
return ''
|
||||
},
|
||||
|
||||
getstrDateYY(mytimestamp: Date | number | string | undefined) {
|
||||
// console.log('getstrDate', mytimestamp)
|
||||
if (mytimestamp) return date.formatDate(mytimestamp, 'DD/MM/YY')
|
||||
return ''
|
||||
},
|
||||
|
||||
getstrDateLong(mytimestamp: Date | number | string | undefined) {
|
||||
// console.log('getstrDate', mytimestamp)
|
||||
const dayofweek = this.getDayOfWeek(mytimestamp)
|
||||
@@ -5785,6 +5791,32 @@ export const tools = {
|
||||
return config[name];
|
||||
},
|
||||
|
||||
getArrSector(table: string, rec: any) {
|
||||
if (table === toolsext.TABMYGOODS)
|
||||
return rec.sectorGood
|
||||
else if ((table === toolsext.TABMYBACHECAS) || (table === toolsext.TABMYSKILLS))
|
||||
return rec.sector
|
||||
else if (table === toolsext.TABMYGROUPS)
|
||||
return [{descr: rec.sector}]
|
||||
else if (table === toolsext.TABMYHOSPS)
|
||||
return []
|
||||
|
||||
|
||||
},
|
||||
|
||||
getArrSubSector(table: string, rec: any) {
|
||||
if (table === toolsext.TABMYGOODS)
|
||||
return rec.recGood
|
||||
else if ((table === toolsext.TABMYBACHECAS) || (table === toolsext.TABMYSKILLS))
|
||||
return rec.recSkill
|
||||
else if (table === toolsext.TABMYGROUPS)
|
||||
return []
|
||||
else if (table === toolsext.TABMYHOSPS)
|
||||
return []
|
||||
|
||||
|
||||
}
|
||||
|
||||
// getLocale() {
|
||||
// if (navigator.languages && navigator.languages.length > 0) {
|
||||
// return navigator.languages[0]
|
||||
|
||||
Reference in New Issue
Block a user