Skip to content

Commit 6081b25

Browse files
committed
fix redurect to program page
1 parent cf98abf commit 6081b25

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

projects/social_platform/src/app/auth/login/login.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export class LoginComponent implements OnInit {
112112
.then(() => console.debug("Route changed from LoginComponent"));
113113
else if (redirectType === "program")
114114
this.router
115-
.navigateByUrl("/office/program/list")
115+
.navigateByUrl("/office/program")
116116
.then(() => console.debug("Route changed from LoginComponent"));
117117
},
118118
error: error => {

projects/social_platform/src/app/office/office.routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const OFFICE_ROUTES: Routes = [
3333
{
3434
path: "",
3535
pathMatch: "full",
36-
redirectTo: "feed",
36+
redirectTo: "program",
3737
},
3838
{
3939
path: "feed",

0 commit comments

Comments
 (0)