diff --git a/src/app/features/article/components/article-list.component.ts b/src/app/features/article/components/article-list.component.ts index c7024620f..bf008fe18 100644 --- a/src/app/features/article/components/article-list.component.ts +++ b/src/app/features/article/components/article-list.component.ts @@ -86,6 +86,7 @@ export class ArticleListComponent { .subscribe((data) => { this.loading = LoadingState.LOADED; this.results = data.articles; + console.log("adding a console log here"); // Used from http://www.jstips.co/en/create-range-0...n-easily-using-one-line/ this.totalPages = Array.from( diff --git a/src/app/features/article/components/article-preview.component.ts b/src/app/features/article/components/article-preview.component.ts index 67b0c1fb5..a70319dd5 100644 --- a/src/app/features/article/components/article-preview.component.ts +++ b/src/app/features/article/components/article-preview.component.ts @@ -20,7 +20,7 @@ import { FavoriteButtonComponent } from "./favorite-button.component"; -

{{ article.title }}

+

{{ article?.title }}

{{ article.description }}

Read more...