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 0ed6894..3c7aa8a 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
@@ -17,12 +17,12 @@
mel.dataset.categories
- @for(topic of displayCategories; track $index) {
+ @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 3a14eea..9650ded 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
@@ -42,9 +42,7 @@ export class DatasetInformationComponent {
return categoryKeywords?.map((keyword) => keyword.label)
}
- onInfoKeywordClick(keyword: string) {
- this.routerFacade
- ? this.routerFacade.updateSearch({ q: keyword })
- : goFromHomeToSearch(keyword)
+ onCategoryKeywordClick(category: string) {
+ this.routerFacade.updateSearch({ q: category })
}
}