Loading src/app/app.component.ts +4 −1 Original line number Diff line number Diff line Loading @@ -113,7 +113,10 @@ export class Minds { this.minds.user.language, this.minds.language ); setTimeout(() => { window.location.reload(true); }); } } }); Loading src/app/modules/auth/register.component.ts +1 −0 Original line number Diff line number Diff line Loading @@ -85,6 +85,7 @@ export class RegisterComponent implements OnInit, OnDestroy { registered() { if (this.redirectTo) { this.navigateToRedirection(); return; } this.router.navigate(['/' + this.session.getLoggedInUser().username]); Loading src/app/modules/forms/register/register.ts +1 −1 Original line number Diff line number Diff line Loading @@ -143,8 +143,8 @@ export class RegisterForm implements OnInit { // TODO: [emi/sprint/bison] Find a way to reset controls. Old implementation throws Exception; this.inProgress = false; this.done.next(data.user); this.session.login(data.user); this.done.next(data.user); }) .catch(e => { console.log(e); Loading src/app/modules/onboarding-v2/page/onboarding.component.ts +5 −1 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ export class OnboardingComponent implements OnDestroy { }, ]; showTitle: boolean = false; shown: boolean = false; constructor( private session: Session, Loading @@ -45,6 +46,10 @@ export class OnboardingComponent implements OnDestroy { if (section === 'notice') { this.showTitle = false; } else { if (!this.shown) { this.shown = true; this.onboardingService.shown(); } this.showTitle = true; for (const item of this.steps) { Loading Loading @@ -73,7 +78,6 @@ export class OnboardingComponent implements OnDestroy { this.router.navigate(['/newsfeed/subscriptions']); } this.onboardingService.shown(); this.topbarService.toggleVisibility(false); this.sidebarMarkersService.toggleVisibility(false); } Loading Loading
src/app/app.component.ts +4 −1 Original line number Diff line number Diff line Loading @@ -113,7 +113,10 @@ export class Minds { this.minds.user.language, this.minds.language ); setTimeout(() => { window.location.reload(true); }); } } }); Loading
src/app/modules/auth/register.component.ts +1 −0 Original line number Diff line number Diff line Loading @@ -85,6 +85,7 @@ export class RegisterComponent implements OnInit, OnDestroy { registered() { if (this.redirectTo) { this.navigateToRedirection(); return; } this.router.navigate(['/' + this.session.getLoggedInUser().username]); Loading
src/app/modules/forms/register/register.ts +1 −1 Original line number Diff line number Diff line Loading @@ -143,8 +143,8 @@ export class RegisterForm implements OnInit { // TODO: [emi/sprint/bison] Find a way to reset controls. Old implementation throws Exception; this.inProgress = false; this.done.next(data.user); this.session.login(data.user); this.done.next(data.user); }) .catch(e => { console.log(e); Loading
src/app/modules/onboarding-v2/page/onboarding.component.ts +5 −1 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ export class OnboardingComponent implements OnDestroy { }, ]; showTitle: boolean = false; shown: boolean = false; constructor( private session: Session, Loading @@ -45,6 +46,10 @@ export class OnboardingComponent implements OnDestroy { if (section === 'notice') { this.showTitle = false; } else { if (!this.shown) { this.shown = true; this.onboardingService.shown(); } this.showTitle = true; for (const item of this.steps) { Loading Loading @@ -73,7 +78,6 @@ export class OnboardingComponent implements OnDestroy { this.router.navigate(['/newsfeed/subscriptions']); } this.onboardingService.shown(); this.topbarService.toggleVisibility(false); this.sidebarMarkersService.toggleVisibility(false); } Loading