Updated article service methods and admin dashboard

This commit is contained in:
itzMiney committed 2024-12-30 04:46:26 +01:00
1 parent 6204e1d53d
commit 5091aadcea
3 files changed
+6 -1

No files matched your search

+4
View File
@@ -147,6 +147,10 @@ export class AdminComponent implements OnInit {
}
}
navigateToArticle(slug: string): void {
this.router.navigate([`/blog/${slug}`]);
}
loadArticles(): void {
const articleObserver: Observer<any> = {
next: (data) => {