mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-17 02:11:31 +02:00
Fix type error
This commit is contained in:
parent
59052b1eb7
commit
cd04fb76dc
@ -335,7 +335,7 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> {
|
|||||||
// rootSpaces.push(space);
|
// rootSpaces.push(space);
|
||||||
// });
|
// });
|
||||||
|
|
||||||
this.orphanedRooms = new Set(orphanedRooms);
|
this.orphanedRooms = new Set(orphanedRooms.map(r => r.roomId));
|
||||||
this.rootSpaces = rootSpaces;
|
this.rootSpaces = rootSpaces;
|
||||||
this.parentMap = backrefs;
|
this.parentMap = backrefs;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user