This commit is contained in:
avicenan
2026-03-02 20:41:50 +07:00
parent 3cad1a646c
commit 505dfbdc98

View File

@ -160,9 +160,7 @@ export class QueueMonitoringController {
return currentDate > latestDate ? current : latest; return currentDate > latestDate ? current : latest;
}, undefined); }, undefined);
console.log("latestOnGoing", latestOnGoing); (queueMonitoring as any).currentQueue = latestOnGoing
(queueMonitoring as any).currentQueues = latestOnGoing
? { ? {
room: roomIdToRoomObj[latestOnGoing.roomId]?.room || null, room: roomIdToRoomObj[latestOnGoing.roomId]?.room || null,
id: latestOnGoing.id, id: latestOnGoing.id,
@ -177,7 +175,7 @@ export class QueueMonitoringController {
...room, ...room,
queues: [] queues: []
})); }));
(queueMonitoring as any).currentQueues = []; (queueMonitoring as any).currentQueue = null;
} }
} }