Skip to content

Commit

Permalink
Merge pull request #6963 from coderNadir/fix/issue-#6693
Browse files Browse the repository at this point in the history
Fix/issue #6693
  • Loading branch information
rahul-rocket authored Oct 9, 2023
2 parents 287b958 + d04fc01 commit 63b6f97
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/gauzy/src/app/auth/login/login.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {
ChangeDetectorRef,
Component,
ElementRef,
Inject,
OnInit,
ViewChild,
Expand Down Expand Up @@ -36,12 +37,16 @@ export class NgxLoginComponent extends NbLoginComponent implements OnInit {
public readonly cdr: ChangeDetectorRef,
public readonly router: Router,
public readonly electronService: ElectronService,
private readonly el: ElementRef,
@Inject(NB_AUTH_OPTIONS) options
) {
super(nbAuthService, options, cdr, router);
}

ngOnInit() {
// -- to not block the scroll after logout
const body = this.el.nativeElement.closest('body');
body.removeAttribute('style');
this.checkRememberdMe();
this.autoFillCredential();
}
Expand Down

0 comments on commit 63b6f97

Please sign in to comment.