diff --git a/webapp/src/app/modules/news-detail/news-detail.component.html b/webapp/src/app/modules/news-detail/news-detail.component.html
index 6e930151..38ece59d 100644
--- a/webapp/src/app/modules/news-detail/news-detail.component.html
+++ b/webapp/src/app/modules/news-detail/news-detail.component.html
@@ -64,11 +64,15 @@
Erwähnte Personen
- @for (person of mentionedPersons; track person) {
-
- {{ person.charAt(0) }}
- {{ person }}
-
+ @if (article.authors && article.authors.length) {
+ @for (person of article.authors; track person) {
+
+ {{ person.charAt(0) }}
+ {{ person }}
+
+ }
+ } @else {
+
Keine erwähnten Personen gefunden.
}
diff --git a/webapp/src/app/modules/news-detail/news-detail.component.ts b/webapp/src/app/modules/news-detail/news-detail.component.ts
index 3bbca4d1..5c51b52c 100644
--- a/webapp/src/app/modules/news-detail/news-detail.component.ts
+++ b/webapp/src/app/modules/news-detail/news-detail.component.ts
@@ -16,6 +16,8 @@ interface NewsArticleDetail {
author?: string | null;
url?: string | null;
full_content?: string | null;
+ relevant?: boolean;
+ authors?: string[];
}
@Component({
@@ -41,12 +43,6 @@ export class NewsDetailComponent implements OnInit {
loading = false;
notFound = false;
- readonly mentionedPersons = [
- 'Prof. Dr. Anna Müller',
- 'Dr. Hans Schmidt',
- 'Dr. Lena Weber',
- ];
-
readonly relevantTopics = [
'Künstliche Intelligenz',
'Maschinelles Lernen',