mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Merge pull request #6242 from matrix-org/t3chguy/ts/fix
Fix type error in the SpaceStore
This commit is contained in:
commit
d96d861983
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> {
|
|||
// rootSpaces.push(space);
|
||||
// });
|
||||
|
||||
this.orphanedRooms = new Set(orphanedRooms);
|
||||
this.orphanedRooms = new Set(orphanedRooms.map(r => r.roomId));
|
||||
this.rootSpaces = rootSpaces;
|
||||
this.parentMap = backrefs;
|
||||
|
||||
|
|
Loading…
Reference in a new issue