Skip to content

Commit

Permalink
listdevice filter should be string #6091
Browse files Browse the repository at this point in the history
Signed-off-by: si458 <simonsmith5521@gmail.com>
  • Loading branch information
si458 committed May 14, 2024
1 parent 23ee76e commit 77d268d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshctrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -2241,7 +2241,7 @@ function serverConnect() {
if (args.filter != null) {
for (var meshid in data.nodes) {
for (var d in data.nodes[meshid]) { data.nodes[meshid][d].meshid = meshid; }
data.nodes[meshid] = parseSearchOrInput(data.nodes[meshid], args.filter.toLowerCase());
data.nodes[meshid] = parseSearchOrInput(data.nodes[meshid], args.filter.toString().toLowerCase());
}
}

Expand Down

0 comments on commit 77d268d

Please sign in to comment.