principal-dashboard-lib-v2 0.0.33 → 0.0.34

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.
@@ -891,7 +891,7 @@
891
891
  this.isChartView = true;
892
892
  }
893
893
  ChartheaderComponent.prototype.ngOnInit = function () {
894
- this.libVersion = "0.0.33";
894
+ this.libVersion = "0.0.34";
895
895
  // this.myIcon = document.getElementById('myIconImg');
896
896
  // this.changeChatType()
897
897
  };
@@ -1534,9 +1534,9 @@
1534
1534
  }
1535
1535
  var smallData = [{ 'a': this.currentdataList, 'b': row }];
1536
1536
  // console.log("this.selectedUserData",this.selectedUserData);
1537
- this.pdService.openSmallTable.next(this.selectedUserData);
1538
1537
  this.pdService.detailedviewData.next(this.selectedUserData);
1539
1538
  this.updateChart();
1539
+ this.pdService.openSmallTable.next(this.selectedUserData);
1540
1540
  // alluserList
1541
1541
  };
1542
1542
  ChartviewComponent.prototype.showAllUser = function () {
@@ -3120,6 +3120,9 @@
3120
3120
  _this.isDisplay = false;
3121
3121
  }
3122
3122
  });
3123
+ this.pdService.chartType.subscribe(function (data) {
3124
+ _this.isDisplay = false;
3125
+ });
3123
3126
  };
3124
3127
  SmallTableViewComponent.prototype.findUserIdByName = function (name) {
3125
3128
  var json = this.jsonResponse;
@@ -3128,6 +3131,9 @@
3128
3131
  };
3129
3132
  SmallTableViewComponent.prototype.loadUserData = function (userId, inputStartTime, inputEndTime) {
3130
3133
  var _this = this;
3134
+ this.currentUserArray = [];
3135
+ this.allUsers = [];
3136
+ this.currentTimeFrameUserArray = [];
3131
3137
  var json = this.jsonResponse;
3132
3138
  var usersConsole = json.usersConsole.userConsole;
3133
3139
  var usersMetadata = json.usersMetadata.userMetadata;