diff --git a/webapp/src/app/modules/person-list/person-list.component.html b/webapp/src/app/modules/person-list/person-list.component.html index 6560642e..782692fb 100644 --- a/webapp/src/app/modules/person-list/person-list.component.html +++ b/webapp/src/app/modules/person-list/person-list.component.html @@ -69,15 +69,11 @@ institutionFilterLabel(filter) }} @if (filter.countryCode) { - + [countryCode]="filter.countryCode" + [height]="10" + [bordered]="false" /> {{ filter.countryCode.toUpperCase() }} diff --git a/webapp/src/app/modules/person-list/person-list.component.ts b/webapp/src/app/modules/person-list/person-list.component.ts index e54df52b..43b342ec 100644 --- a/webapp/src/app/modules/person-list/person-list.component.ts +++ b/webapp/src/app/modules/person-list/person-list.component.ts @@ -25,6 +25,7 @@ import { import { TopicsService } from '../../api/api/topics.service'; import { TopicHierarchyComponent } from '../topic-hierarchy/topic-hierarchy.component'; import { PersonCardComponent } from '../person-card/person-card.component'; +import { CountryFlagComponent } from '../../shared/ui/country-flag/country-flag.component'; import { topicHierarchyColor } from '../../resolvers/utils/topic-colors'; import { buildTopicHierarchyTooltip } from '../../resolvers/utils/topic-tooltip'; import { SharedStateService } from '../../shared/services/shared-state.service'; @@ -65,6 +66,7 @@ type InstitutionYearFilterMode = 'in' | 'from' | 'between'; PersonCardComponent, SkTextDirective, MatAutocompleteModule, + CountryFlagComponent, ], templateUrl: './person-list.component.html', styleUrl: './person-list.component.scss',