- 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:
@@ -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 !
|
||||
|
||||
Reference in New Issue
Block a user