frontend: limit the number of rooms and recordings fetched to 100 in OverviewComponent
This commit is contained in:
parent
0dae7ff81d
commit
83b468b8cb
@ -48,8 +48,8 @@ export class OverviewComponent implements OnInit {
|
|||||||
this.stats.isLoading = true;
|
this.stats.isLoading = true;
|
||||||
|
|
||||||
const [roomsResp, recordingsResp] = await Promise.all([
|
const [roomsResp, recordingsResp] = await Promise.all([
|
||||||
this.roomService.listRooms(),
|
this.roomService.listRooms({ maxItems: 100 }),
|
||||||
this.recordingService.listRecordings()
|
this.recordingService.listRecordings({ maxItems: 100 })
|
||||||
]);
|
]);
|
||||||
const rooms = roomsResp.rooms;
|
const rooms = roomsResp.rooms;
|
||||||
const recordings = recordingsResp.recordings;
|
const recordings = recordingsResp.recordings;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user