Update CardLine.tsx
This commit is contained in:
parent
e5bb81ef27
commit
002709e8e3
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue