frontend: limit the number of rooms and recordings fetched to 100 in OverviewComponent

This commit is contained in:
juancarmore 2025-07-21 18:34:11 +02:00
parent 0dae7ff81d
commit 83b468b8cb

View File

@ -48,8 +48,8 @@ export class OverviewComponent implements OnInit {
this.stats.isLoading = true;
const [roomsResp, recordingsResp] = await Promise.all([
this.roomService.listRooms(),
this.recordingService.listRecordings()
this.roomService.listRooms({ maxItems: 100 }),
this.recordingService.listRecordings({ maxItems: 100 })
]);
const rooms = roomsResp.rooms;
const recordings = recordingsResp.recordings;