principal-dashboard-lib-v2 0.0.12 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -308,9 +308,11 @@
308
308
  }
309
309
  //----------// terminalIP and terminalLocation
310
310
  for (var i_3 = 0; i_3 < schoolTerminalMatrix.length; i_3++) {
311
+ console.log("schoolTerminalMatrix[i]", schoolTerminalMatrix[i_3]);
311
312
  console.log("schoolTerminalMatrix[i].terminalKey", terminalIP, schoolTerminalMatrix[i_3].terminalKey);
312
313
  if (terminalIP === schoolTerminalMatrix[i_3].terminalKey) {
313
314
  terminalLocation = schoolTerminalMatrix[i_3].location;
315
+ break;
314
316
  }
315
317
  else {
316
318
  terminalLocation = "location";
@@ -359,7 +361,7 @@
359
361
  if (this.userConsoleData) {
360
362
  console.log("this.userConsoleData", this.userConsoleData);
361
363
  for (var i = 0; i < this.userConsoleData.length; i++) {
362
- var userData = [this.userConsoleData[i].terminalLocation, this.userConsoleData[i].startTime, this.userConsoleData[i].endTime];
364
+ var userData = [this.userConsoleData[i].terminalIP, this.userConsoleData[i].startTime, this.userConsoleData[i].endTime];
363
365
  dataTableforChart.push(userData);
364
366
  }
365
367
  }
@@ -721,7 +723,7 @@
721
723
  this.isChartView = true;
722
724
  }
723
725
  ChartheaderComponent.prototype.ngOnInit = function () {
724
- this.libVersion = "0.0.20";
726
+ this.libVersion = "0.0.13";
725
727
  // this.myIcon = document.getElementById('myIconImg');
726
728
  // this.changeChatType()
727
729
  };