Skip to content

Commit 178033e

Browse files
committed
fix post details goToAddTheme(){
this.router.navigate(["add-theme"]) }
1 parent a5507f2 commit 178033e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/app/post-details/post-details.component.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,9 @@ export class PostDetailsComponent implements OnInit {
4747
const id = + this.activatedRoute.snapshot.paramMap.get('id');
4848
this.router.navigate(['post-edit/' + id]);
4949
}
50+
51+
goToAddTheme(){
52+
this.router.navigate(["add-theme"])
53+
}
54+
5055
}

0 commit comments

Comments
 (0)