diff --git a/webapp/src/app/api/model/topicCount.ts b/webapp/src/app/api/model/topicCount.ts index 559242d9..720ba500 100644 --- a/webapp/src/app/api/model/topicCount.ts +++ b/webapp/src/app/api/model/topicCount.ts @@ -19,4 +19,10 @@ export interface TopicCount { */ count?: number; description?: string | null; + subfield_id?: string | null; + subfield_name?: string | null; + field_id?: string | null; + field_name?: string | null; + domain_id?: string | null; + domain_name?: string | null; } diff --git a/webapp/src/app/modules/person-interesting/person-interesting.component.html b/webapp/src/app/modules/person-interesting/person-interesting.component.html index 1a853cf8..11b6989a 100644 --- a/webapp/src/app/modules/person-interesting/person-interesting.component.html +++ b/webapp/src/app/modules/person-interesting/person-interesting.component.html @@ -10,12 +10,12 @@
@if (tags().length > 0) { - @for (tag of tags(); track tag.label; let i = $index) { + @for (tag of tags(); track tag.label) { b.count - a.count).slice(0, MAX_TAGS); }); - getColorClass(index: number): string { - return TOPIC_CHIP_PALETTE[index % TOPIC_CHIP_PALETTE.length]; - } - onTagClick(tag: InterestTag): void { if (!tag.id) return; this.tagClick.emit({ id: tag.id, name: tag.label });