Corretto le richieste di amicizie, aggiunto Accettazione sul BOT

This commit is contained in:
paoloar77
2022-03-11 12:38:17 +01:00
parent 64579ccabf
commit a353e85ccf
14 changed files with 117 additions and 36 deletions

View File

@@ -5316,6 +5316,24 @@ export const tools = {
},
getFieldSearchByTable: function (mytable: string, tablejoin: string, field: string) {
let ris = field
if (mytable === 'users') {
if (tablejoin === 'cities') {
ris = 'profile.born_city_id'
}
if (tablejoin === 'provinces') {
ris = 'profile.born_province'
}
if (tablejoin === 'regions') {
ris = ''
}
}
return ris
},
// getLocale() {
// if (navigator.languages && navigator.languages.length > 0) {