Пофиксил зависания кнопок входа/регистрации
This commit is contained in:
		
							parent
							
								
									6e0b29f2a2
								
							
						
					
					
						commit
						2c8fdce6aa
					
				|  | @ -38,6 +38,7 @@ export default { | |||
|             let validation = this.validate(); | ||||
|             if (validation !== true){ | ||||
|                 alert(validation); | ||||
|                 this.loading = false; | ||||
|                 return; | ||||
|             } | ||||
|             this.userStore.login(this.email, this.password, this.rememberMe).then((isLogged) => { | ||||
|  |  | |||
|  | @ -43,6 +43,7 @@ export default { | |||
|             let validation = this.validate(); | ||||
|             if (validation !== true){ | ||||
|                 alert(validation); | ||||
|                 this.loading = false; | ||||
|                 return; | ||||
|             } | ||||
|             this.userStore.registration(this.login, this.email, this.password, this.repeatPassword).then((isRegistred)=>{ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue