From 9417a27602c8de7c6ffc956bec7e2dab737a1460 Mon Sep 17 00:00:00 2001 From: Eliane Meltzer Date: Fri, 12 Sep 2025 16:41:21 -0400 Subject: [PATCH] auto pr test commit --- .../components/article-list.component.ts | 1 + .../components/article-preview.component.ts | 7 +++++-- .../components/favorite-button.component.ts | 6 +++--- .../pages/article/article.component.html | 4 ++-- .../pages/article/article.component.ts | 21 ++++++++++++------- .../pages/editor/editor.component.html | 2 +- .../article/pages/home/home.component.ts | 19 +++++++++++------ .../article/services/articles.service.ts | 13 +++++++----- .../pages/profile/profile.component.html | 2 +- .../features/settings/settings.component.ts | 3 ++- 10 files changed, 50 insertions(+), 28 deletions(-) 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...