Se la window viene attivata, e se sono in fase di registrazione, allora controllo se ci sono aggiornamenti ogni 10 secondi, loadSite

Corretto che il link di registrazione se era in minuscolo l'username e venivi registrato in maiuscolo, non lo prendeva.
L'immagine di telegram occorre salvare anche la versione SMALL
Corretto filtro, se cambiavo Regione, non mi resettava la Provincia e la Città
This commit is contained in:
paoloar77
2022-03-10 00:28:07 +01:00
parent 00939b053a
commit b597a9ad4b
18 changed files with 189 additions and 65 deletions

View File

@@ -4141,7 +4141,7 @@ export const tools = {
return userStore.my.username
else
return false
}catch (e) {
} catch (e) {
return ''
}
},
@@ -5033,6 +5033,10 @@ export const tools = {
return userStore.isUsernameTelegOk()
},
notFinishReg() {
return !this.isUserOk()
},
getParamsByTable(table: string) {
let obj = {
@@ -5277,15 +5281,15 @@ export const tools = {
const mycolchiaro = tools.colourNameToHex(newcol)
return 'background: ' + mycol +
' background: -webkit-linear-gradient('+degree+'deg, ' + mycol + ', ' + mycolchiaro + ') !important; ' +
' background: linear-gradient('+degree+'deg, ' + mycol + ', ' + mycolchiaro + ') !important;'
' background: -webkit-linear-gradient(' + degree + 'deg, ' + mycol + ', ' + mycolchiaro + ') !important; ' +
' background: linear-gradient(' + degree + 'deg, ' + mycol + ', ' + mycolchiaro + ') !important;'
},
getCurrentUrl(){
getCurrentUrl() {
return window.location.pathname
},
isCurrentUrlSignUp(){
isCurrentUrlSignUp() {
return window.location.pathname.indexOf('signup') >= 0
},