diff --git a/ogWebconsole/src/app/components/login/login.component.html b/ogWebconsole/src/app/components/login/login.component.html index 3229fbc..c5b2dc7 100644 --- a/ogWebconsole/src/app/components/login/login.component.html +++ b/ogWebconsole/src/app/components/login/login.component.html @@ -1,32 +1,30 @@
- -

Opengnsys

- - Introduce tu usuario - - - - Introduce tu contraseña - - - -
- -
+ +

Opengnsys

+ + Introduce tu usuario + + + + Introduce tu contraseña + + + + +
+ +
- + - + \ No newline at end of file diff --git a/ogWebconsole/src/app/components/login/login.component.ts b/ogWebconsole/src/app/components/login/login.component.ts index 29bbcbd..aeb2dac 100644 --- a/ogWebconsole/src/app/components/login/login.component.ts +++ b/ogWebconsole/src/app/components/login/login.component.ts @@ -45,7 +45,6 @@ export class LoginComponent { return; } - // Usar la URL base de la variable de entorno this.http.post(`${this.baseUrl}/auth/login`, this.loginObj).subscribe({ next: (res: any) => { if (res.token) { @@ -65,7 +64,8 @@ export class LoginComponent { } hide = signal(true); - clickEvent() { + clickEvent(event: Event) { + event.stopPropagation(); this.hide.set(!this.hide()); }