From 6216f71bbb99b3cdcbd7a90e46537e5833dd5f29 Mon Sep 17 00:00:00 2001 From: Camille Moinier Date: Thu, 4 Jul 2024 14:04:36 +0200 Subject: [PATCH] feat: use keyword key in facade --- .../dataset-information/dataset-information.component.html | 4 ++-- .../dataset-information/dataset-information.component.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/datahub/src/app/dataset/dataset-information/dataset-information.component.html b/apps/datahub/src/app/dataset/dataset-information/dataset-information.component.html index a89ec5c..55d10ef 100644 --- a/apps/datahub/src/app/dataset/dataset-information/dataset-information.component.html +++ b/apps/datahub/src/app/dataset/dataset-information/dataset-information.component.html @@ -20,9 +20,9 @@ @for(category of displayCategories; track $index) { } diff --git a/apps/datahub/src/app/dataset/dataset-information/dataset-information.component.ts b/apps/datahub/src/app/dataset/dataset-information/dataset-information.component.ts index f935537..1276c55 100644 --- a/apps/datahub/src/app/dataset/dataset-information/dataset-information.component.ts +++ b/apps/datahub/src/app/dataset/dataset-information/dataset-information.component.ts @@ -38,7 +38,7 @@ export class DatasetInformationComponent { (keyword) => keyword.thesaurus?.name === 'Catégories' ) - return categoryKeywords?.map((keyword) => keyword.label) + return categoryKeywords } onCategoryKeywordClick(category: string) {