fix: set session org in new tab (#2481)

This commit is contained in:
Max Peintner 2021-10-05 10:18:19 +02:00 committed by GitHub
parent 73a51c1544
commit 584416ea3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,6 +166,7 @@ export class GrpcAuthService {
const org = this.storage.getItem<Org.AsObject>(StorageKey.organization, StorageLocation.local);
if (org && orgs.find(tmp => tmp.id === org.id)) {
this.storage.setItem(StorageKey.organization, org, StorageLocation.session);
return org;
}