mirror of https://github.com/vector-im/riot-web
lint semis
parent
2162517a37
commit
d203943b7f
|
@ -53,8 +53,7 @@ export class BreadcrumbsStore extends AsyncStoreWithClient<IState> {
|
|||
|
||||
public get visible(): boolean {
|
||||
// @ts-ignore - TypeScript really wants this to be [tagId: string] but we know better.
|
||||
const roomCount = _reduce(RoomListStoreTempProxy.getRoomLists(), (result, rooms) => result + rooms.length, 0)
|
||||
console.log(`calculating roomlist size: ${roomCount}`)
|
||||
const roomCount = _reduce(RoomListStoreTempProxy.getRoomLists(), (result, rooms) => result + rooms.length, 0);
|
||||
return roomCount >= 20;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue