fix: set active org to local and session storage (#2380)

This commit is contained in:
Livio Amstutz 2021-09-16 11:48:56 +02:00 committed by GitHub
parent 0f9a939f44
commit d090f12672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,6 +188,7 @@ export class GrpcAuthService {
public setActiveOrg(org: Org.AsObject): void {
this.storage.setItem(StorageKey.organization, org, StorageLocation.local);
this.storage.setItem(StorageKey.organization, org, StorageLocation.session);
this._activeOrgChanged.next(org);
}