mirror of
https://github.com/a-mayb3/KanbanCloneAngular.git
synced 2026-03-21 18:05:38 +01:00
Made project item redirect to project details on click
This commit is contained in:
parent
d31630db18
commit
c59090a64a
5 changed files with 30 additions and 11 deletions
|
|
@ -20,10 +20,6 @@ export class HomeComponent {
|
|||
return this.authService.currentUser()?.projects ?? [];
|
||||
}
|
||||
|
||||
onProjectClick(project: Project) {
|
||||
this.router.navigate(['/projects', project.id]);
|
||||
}
|
||||
|
||||
onCreateProject() {
|
||||
this.router.navigate(['/projects/new']);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue