principal-dashboard-lib-v2 0.0.20 → 0.0.21
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.
- package/bundles/principal-dashboard-lib-v2.umd.js +8 -2
- package/bundles/principal-dashboard-lib-v2.umd.js.map +1 -1
- package/bundles/principal-dashboard-lib-v2.umd.min.js +1 -1
- package/bundles/principal-dashboard-lib-v2.umd.min.js.map +1 -1
- package/esm2015/lib/chartheader/chartheader.component.js +2 -2
- package/esm2015/lib/principal-dashboard-lib-v2.service.js +8 -2
- package/fesm2015/principal-dashboard-lib-v2.js +8 -2
- package/fesm2015/principal-dashboard-lib-v2.js.map +1 -1
- package/package.json +1 -1
|
@@ -365,12 +365,15 @@
|
|
|
365
365
|
var dataTableforChart = new Array();
|
|
366
366
|
dataTableforChart = [];
|
|
367
367
|
if (this.userConsoleData) {
|
|
368
|
+
console.log("chartDataUserWiseNew-->>", this.userConsoleData);
|
|
368
369
|
if (this.userConsoleData.length > 0) {
|
|
369
370
|
for (var i = 0; i < this.userConsoleData.length; i++) {
|
|
370
|
-
console.log("chartDataUserWiseNew-->>", this.userConsoleData[i].userName);
|
|
371
371
|
if (this.userConsoleData[i].userName === undefined) {
|
|
372
372
|
this.userConsoleData[i].userName = "-";
|
|
373
373
|
}
|
|
374
|
+
if (this.userConsoleData[i].userName === "-" || this.userConsoleData[i].userName === "--") {
|
|
375
|
+
this.userConsoleData.splice(i, 1); // 2nd parameter means remove one item only
|
|
376
|
+
}
|
|
374
377
|
var userData = [this.userConsoleData[i].userName, this.userConsoleData[i].startTime, this.userConsoleData[i].endTime];
|
|
375
378
|
dataTableforChart.push(userData);
|
|
376
379
|
//console.log("chartDataUserWiseNewNew-->>",userData)
|
|
@@ -473,6 +476,9 @@
|
|
|
473
476
|
if (AlluserDetails_1[i].userName === undefined) {
|
|
474
477
|
AlluserDetails_1[i].userName = "--";
|
|
475
478
|
}
|
|
479
|
+
if (AlluserDetails_1[i].userName === "--") {
|
|
480
|
+
//AlluserDetails.splice(i, 1); // 2nd parameter means remove one item only
|
|
481
|
+
}
|
|
476
482
|
var userData = [AlluserDetails_1[i].userName, AlluserDetails_1[i].startTime, AlluserDetails_1[i].endTime];
|
|
477
483
|
dataTableforChart.push(userData);
|
|
478
484
|
}
|
|
@@ -837,7 +843,7 @@
|
|
|
837
843
|
this.isChartView = true;
|
|
838
844
|
}
|
|
839
845
|
ChartheaderComponent.prototype.ngOnInit = function () {
|
|
840
|
-
this.libVersion = "0.0.
|
|
846
|
+
this.libVersion = "0.0.21";
|
|
841
847
|
// this.myIcon = document.getElementById('myIconImg');
|
|
842
848
|
// this.changeChatType()
|
|
843
849
|
};
|