fix monitor display for less than 3 players
This commit is contained in:
parent
8fad6d64df
commit
0d2bd78580
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ function setup_ws() {
|
|||
},
|
||||
}) => {
|
||||
if (action === "monitor" && Array.isArray(args.targets)) {
|
||||
monitored = args.targets
|
||||
monitored = args.targets.filter(Boolean)
|
||||
redraw_clients(clients, monitored)
|
||||
} else if (action === "text" && args.text !== undefined) {
|
||||
if (args.text.length) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue