Update CardLine.tsx

This commit is contained in:
nguyentrungthat 2025-11-24 10:27:50 +07:00
parent e5bb81ef27
commit 002709e8e3
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ const CardLine = ({
}
} else {
setSelectedLines((pre) => [...pre, line]);
setFocusTerminal(true);
if (selectedLines?.length < 1) setFocusTerminal(true);
socket?.emit("open_cli", {
lineId: line.id,
stationId: line.stationId || line.station_id,