From 584416ea3ba69e64774641a654707037d7fa4d7c Mon Sep 17 00:00:00 2001 From: Max Peintner Date: Tue, 5 Oct 2021 10:18:19 +0200 Subject: [PATCH] fix: set session org in new tab (#2481) --- console/src/app/services/grpc-auth.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/console/src/app/services/grpc-auth.service.ts b/console/src/app/services/grpc-auth.service.ts index b01ed588d..a857c07cc 100644 --- a/console/src/app/services/grpc-auth.service.ts +++ b/console/src/app/services/grpc-auth.service.ts @@ -166,6 +166,7 @@ export class GrpcAuthService { const org = this.storage.getItem(StorageKey.organization, StorageLocation.local); if (org && orgs.find(tmp => tmp.id === org.id)) { + this.storage.setItem(StorageKey.organization, org, StorageLocation.session); return org; }