mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Merged PR 747: #1993 PDP Empfehlungen Fallback auf ID wenn digId nicht vorhanden
#1993 PDP Empfehlungen Fallback auf ID wenn digId nicht vorhanden Related work items: #1993
This commit is contained in:
committed by
Lorenz Hilpert
parent
70ec7ad4a5
commit
3af93ff4a5
@@ -53,7 +53,7 @@ export class ArticleDetailsStore extends ComponentStore<ArticleDetailsState> {
|
||||
|
||||
readonly recommendations$ = this.item$.pipe(
|
||||
filter((item) => !!item),
|
||||
switchMap((item) => this.domainCatalogService.getRecommendations({ digId: item.ids['dig'] }).pipe(map((res) => res.result)))
|
||||
switchMap((item) => this.domainCatalogService.getRecommendations({ digId: item.ids?.dig || item.id }).pipe(map((res) => res.result)))
|
||||
);
|
||||
|
||||
//#region Lesepunkte
|
||||
|
||||
Reference in New Issue
Block a user