From 77095c8549eaab09673caeeb937143c7c619dd23 Mon Sep 17 00:00:00 2001 From: spsaefan <117728614+spsaefan@users.noreply.github.com> Date: Mon, 17 Aug 2026 11:50:21 +0200 Subject: [PATCH] Set default institution tab --- webapp/src/app/modules/dashboard/dashboard.component.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 ) {