Compare commits
2 Commits
5760148afc
...
97df324828
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | 97df324828 | |
Derrick Hammer | d8e2046ebd |
|
@ -50,8 +50,8 @@ export function generatePortalKeyPair(portal: Portal): KeyPair {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getActivePortals(): Set<Client> {
|
export function getActivePortals(): Client[] {
|
||||||
return ACTIVE_PORTALS;
|
return [...ACTIVE_PORTALS];
|
||||||
}
|
}
|
||||||
|
|
||||||
export function addActivePortal(portal: Client) {
|
export function addActivePortal(portal: Client) {
|
||||||
|
@ -76,6 +76,7 @@ export function initPortal(portal: Portal) {
|
||||||
|
|
||||||
addActivePortal(client);
|
addActivePortal(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getPortalSessions() {
|
export function getPortalSessions() {
|
||||||
let portalSessionsData = window.localStorage.getItem("portals");
|
let portalSessionsData = window.localStorage.getItem("portals");
|
||||||
let portalSessions: PortalSessionsStore = {};
|
let portalSessions: PortalSessionsStore = {};
|
||||||
|
|
Loading…
Reference in New Issue