mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 23:37:23 +00:00
fix: set session org in new tab (#2481)
This commit is contained in:
parent
73a51c1544
commit
584416ea3b
@ -166,6 +166,7 @@ export class GrpcAuthService {
|
|||||||
|
|
||||||
const org = this.storage.getItem<Org.AsObject>(StorageKey.organization, StorageLocation.local);
|
const org = this.storage.getItem<Org.AsObject>(StorageKey.organization, StorageLocation.local);
|
||||||
if (org && orgs.find(tmp => tmp.id === org.id)) {
|
if (org && orgs.find(tmp => tmp.id === org.id)) {
|
||||||
|
this.storage.setItem(StorageKey.organization, org, StorageLocation.session);
|
||||||
return org;
|
return org;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user