- fix scelta provincia (il bottone Avanti non veniva disabilitato).

- Se non scelgo la provincia, non deve farmi vedere la App...
This commit is contained in:
Surya Paolo
2024-03-28 20:26:21 +01:00
parent 6856c4cc8e
commit aa29a7fa46
80 changed files with 10777451 additions and 178 deletions

View File

@@ -70,6 +70,9 @@ export const tools = {
COOK_SELGAS: 'SELGAS',
COOK_TAB_CIRCUIT: 'TAB_CIRC',
COOK_COSA_PRODOTTI: 'PROD_N',
COOK_MAP_CENTER_LAT: 'MAP_LAT',
COOK_MAP_CENTER_LONG: 'MAP_LONG',
COOK_MAP_ZOOM: 'MAP_Z',
FRIENDS_SEARCH: 'FR_SE',
GROUP_SEARCH: 'GR_SE',
@@ -5160,6 +5163,10 @@ export const tools = {
return globalStore.getProvinceByProv(prov)
},
visualizzaHomeApp() {
return this.getProvincia() !== ''
},
getLinkBotTelegram(aportador_solidario: string, regexpire: string): string {
let mylink = ''
const sep = '-'
@@ -8505,7 +8512,15 @@ export const tools = {
getInvitante() {
const invitante = tools.getCookie(tools.APORTADOR_SOLIDARIO)
return invitante ? invitante : ''
}
},
contieneSlash(str: string) {
return str.includes('/');
},
refreshPage() {
window.location.reload();
},
// FINE !