mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-04 10:32:44 +00:00
Fix the tests
This commit is contained in:
@@ -113,7 +113,7 @@ export class BreadcrumbsStore extends AsyncStoreWithClient<IState> {
|
||||
}
|
||||
|
||||
private async appendRoom(room: Room) {
|
||||
const rooms = this.state.rooms.slice(); // cheap clone
|
||||
const rooms = (this.state.rooms || []).slice(); // cheap clone
|
||||
|
||||
// If the room is upgraded, use that room instead. We'll also splice out
|
||||
// any children of the room.
|
||||
|
||||
Reference in New Issue
Block a user