fix
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user