fix: pull Client into state early

(should fix empty server list)
This commit is contained in:
Paul Makles
2022-06-09 14:40:54 +01:00
parent 67c8418c31
commit ee80dfd3c8
3 changed files with 5 additions and 4 deletions

View File

@@ -73,10 +73,14 @@ export default class Ordering implements Store, Persistent<Data>, Syncable {
}
}
console.info("out1", out);
for (const id of known) {
out.push(this.state.client!.servers.get(id)!);
}
console.info("out2", out);
return out;
}