From 3b8cf0e1298884c24c4879e862e7c053ceedae2c Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Wed, 22 Mar 2023 19:31:44 +0200 Subject: [PATCH] Update stakeholder if route is diff from user-info --- src/app/app.component.ts | 2 +- src/app/openaireLibrary | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index c7c22d9..9d891f9 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -144,7 +144,7 @@ export class AppComponent implements OnInit, OnDestroy { } })); this.subscriptions.push(this.userManagementService.getUserInfo().subscribe(user => { - this.updateStakeholder = true; + this.updateStakeholder = !this.router.url.includes('user-info'); if (user) { this.user = user; if (!this.notificationGroupsInitialized) { diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index ed19051..2b4835b 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit ed19051fc063d97a34b7ee4601bc5fd68aac3baa +Subproject commit 2b4835bd0dfaa19a65ab27da289f5a8877819a88