diff --git a/webapp/src/app/modules/dashboard/dashboard.component.ts b/webapp/src/app/modules/dashboard/dashboard.component.ts index 52bffe64..febec56c 100644 --- a/webapp/src/app/modules/dashboard/dashboard.component.ts +++ b/webapp/src/app/modules/dashboard/dashboard.component.ts @@ -135,7 +135,8 @@ export class DashboardComponent implements OnInit { dashboardToYear = this.topicTreemapMaxYear; dashboardInstitutions: DashboardInstitution[] = []; selectedDashboardInstitutionId = 'all'; - selectedAnalyticalInstitutionId = 'all'; + readonly defaultAnalyticalInstitutionId = 'I62318514'; + selectedAnalyticalInstitutionId = this.defaultAnalyticalInstitutionId; dashboardInstitutionsLoading = false; dashboardInstitutionsError = false; selectedTopicTreemapNode?: string; @@ -189,12 +190,12 @@ export class DashboardComponent implements OnInit { } const requestedAnalyticalInstitution = this.route.snapshot.queryParamMap.get('analyticalInstitution') ?? - 'all'; + this.defaultAnalyticalInstitutionId; const restoredAnalyticalInstitution = institutions.some( (institution) => institution.id === requestedAnalyticalInstitution, ) ? requestedAnalyticalInstitution - : 'all'; + : this.defaultAnalyticalInstitutionId; if ( restoredAnalyticalInstitution !== this.selectedAnalyticalInstitutionId ) {