From 505dfbdc9844b0ca89a2c24243b4aec7b8fe2536 Mon Sep 17 00:00:00 2001 From: avicenan Date: Mon, 2 Mar 2026 20:41:50 +0700 Subject: [PATCH] fix --- src/controllers/queue_monitoring.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/controllers/queue_monitoring.ts b/src/controllers/queue_monitoring.ts index 6783947..f780937 100644 --- a/src/controllers/queue_monitoring.ts +++ b/src/controllers/queue_monitoring.ts @@ -160,9 +160,7 @@ export class QueueMonitoringController { return currentDate > latestDate ? current : latest; }, undefined); - console.log("latestOnGoing", latestOnGoing); - - (queueMonitoring as any).currentQueues = latestOnGoing + (queueMonitoring as any).currentQueue = latestOnGoing ? { room: roomIdToRoomObj[latestOnGoing.roomId]?.room || null, id: latestOnGoing.id, @@ -177,7 +175,7 @@ export class QueueMonitoringController { ...room, queues: [] })); - (queueMonitoring as any).currentQueues = []; + (queueMonitoring as any).currentQueue = null; } }