Merge pull request #6242 from matrix-org/t3chguy/ts/fix

Fix type error in the SpaceStore
pull/21833/head
Michael Telatynski 2021-06-22 18:08:00 +01:00 committed by GitHub
commit d96d861983
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;