Made project item redirect to project details on click

This commit is contained in:
Marta Borgia Leiva 2026-02-10 11:31:06 +01:00
parent d31630db18
commit c59090a64a
5 changed files with 30 additions and 11 deletions

View file

@ -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']);
}