diff --git a/SystemKonkursow/4.2.1/angular/src/app/layout/sidebar-nav.component.ts b/SystemKonkursow/4.2.1/angular/src/app/layout/sidebar-nav.component.ts index 91abeba..8f7862d 100644 --- a/SystemKonkursow/4.2.1/angular/src/app/layout/sidebar-nav.component.ts +++ b/SystemKonkursow/4.2.1/angular/src/app/layout/sidebar-nav.component.ts @@ -21,22 +21,6 @@ export class SideBarNavComponent extends AppComponentBase { new MenuItem(this.l("Role"), "Pages.Roles", "local_offer", "/app/roles"), new MenuItem(this.l("O projekcie"), "", "info", "/app/about"), - // new MenuItem(this.l("MultiLevelMenu"), "", "menu", "", [ - // new MenuItem("ASP.NET Boilerplate", "", "", "", [ - // new MenuItem("Home", "", "", "https://aspnetboilerplate.com/?ref=abptmpl"), - // new MenuItem("Templates", "", "", "https://aspnetboilerplate.com/Templates?ref=abptmpl"), - // new MenuItem("Samples", "", "", "https://aspnetboilerplate.com/Samples?ref=abptmpl"), - // new MenuItem("Documents", "", "", "https://aspnetboilerplate.com/Pages/Documents?ref=abptmpl") - // ]), - // new MenuItem("ASP.NET Zero", "", "", "", [ - // new MenuItem("Home", "", "", "https://aspnetzero.com?ref=abptmpl"), - // new MenuItem("Description", "", "", "https://aspnetzero.com/?ref=abptmpl#description"), - // new MenuItem("Features", "", "", "https://aspnetzero.com/?ref=abptmpl#features"), - // new MenuItem("Pricing", "", "", "https://aspnetzero.com/?ref=abptmpl#pricing"), - // new MenuItem("Faq", "", "", "https://aspnetzero.com/Faq?ref=abptmpl"), - // new MenuItem("Documents", "", "", "https://aspnetzero.com/Documents?ref=abptmpl") - // ]) - // ]) ]; constructor( diff --git a/SystemKonkursow/4.2.1/angular/src/app/profile/profile.component.ts b/SystemKonkursow/4.2.1/angular/src/app/profile/profile.component.ts index cda0ae4..58f5947 100644 --- a/SystemKonkursow/4.2.1/angular/src/app/profile/profile.component.ts +++ b/SystemKonkursow/4.2.1/angular/src/app/profile/profile.component.ts @@ -62,9 +62,10 @@ export class ProfileComponent extends AppComponentBase implements OnInit, OnDest public saveProfile(): void { this.profile.participantClass = +this.profile.participantClass; this.userProfileService.updateProfile(this.profile) - .pipe(finalize(() => { this.router.navigate(['app/home']); })) + .pipe(finalize(() => { })) .subscribe(() => { this.notify.success(this.l('Zapisano profil')); + this.router.navigate(['app/home']); }); } }