Skip to content

Commit

Permalink
fix(welcomewindow): trigger the welcome window if no auth url defined (
Browse files Browse the repository at this point in the history
…#613)

Co-authored-by: Pierre-Étienne Lord <[email protected]>
  • Loading branch information
2 people authored and mbarbeau committed May 17, 2021
1 parent 26c8021 commit ea9a1ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pages/portal/portal.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ export class PortalComponent implements OnInit, OnDestroy {
}

private initWelcomeWindow(): void {
if (this.auth) {
if (this.auth?.url) {
this.authService.logged$.subscribe((logged) => {
if (logged) {
this.createWelcomeWindow();
Expand Down

0 comments on commit ea9a1ee

Please sign in to comment.