This commit is contained in:
parent
461e0bb82f
commit
bf698bee59
1 changed files with 7 additions and 0 deletions
|
|
@ -176,6 +176,13 @@
|
|||
const data = await response.json();
|
||||
realms = data.realms;
|
||||
|
||||
// Initialize all realms as collapsed by default
|
||||
for (const realm of realms) {
|
||||
if (collapsedRealms[realm.id] === undefined) {
|
||||
collapsedRealms[realm.id] = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Load stats and restream destinations for each realm
|
||||
for (const realm of realms) {
|
||||
await updateRealmStats(realm.id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue