Browse Source

multidevices ff

main
gsd 3 months ago
parent
commit
a59d08ffe3
  1. 4
      ui/src/app/components/packet/NetworkStatus.component.ts

4
ui/src/app/components/packet/NetworkStatus.component.ts

@ -192,7 +192,7 @@ export class NetworkStatusComponent implements OnInit {
switch (num) {
case 0: {
this.MODE = "ALL";
this.http.get(`api/nodes/list?q=${devicesToRequest()}`).subscribe(
this.http.get(`api/nodes/list`).subscribe(
(obj) => {
(obj as NodeDTO[]).forEach(
(node) => {
@ -211,7 +211,7 @@ export class NetworkStatusComponent implements OnInit {
default: {
this.MODE = "NODE";
this.NUM = num;
this.http.get(`api/nodes/${num}?q=${devicesToRequest()}`).subscribe(
this.http.get(`api/nodes/${num}`).subscribe(
(obj) => {
const node: NodeDTO = obj as NodeDTO
if (node)

Loading…
Cancel
Save