diff --git a/src/app/dashboard/dashboard.component.html b/src/app/dashboard/dashboard.component.html
index d4134fe..f2b4249 100644
--- a/src/app/dashboard/dashboard.component.html
+++ b/src/app/dashboard/dashboard.component.html
@@ -6,22 +6,22 @@
diff --git a/src/app/dashboard/dashboard.component.ts b/src/app/dashboard/dashboard.component.ts
index bc26539..d034e01 100644
--- a/src/app/dashboard/dashboard.component.ts
+++ b/src/app/dashboard/dashboard.component.ts
@@ -39,21 +39,27 @@ export class DashboardComponent implements OnInit {
) { }
resultData: any;
+ resultNum:number = 0;
resultDataOnHold: any;
resultData2: any;
+ resultNum2:number = 0;
resultDataOnHold2: any;
resultData3: any;
+ resultNum3:number = 0;
resultDataOnHold3: any;
resultData4: any;
+ resultNum4:number = 0;
resultDataOnHold4: any;
resultData5: any;
+ resultNum5:number = 0;
resultDataOnHold5: any;
resultData6: any;
+ resultNum6:number = 0;
resultDataOnHold6: any;
@@ -75,6 +81,7 @@ export class DashboardComponent implements OnInit {
for (const i in this.resultData) {
this.resultData[i].link = this._common.decodeURI(this.resultData[i].link);
this.resultData[i].birth_date = this._common.convertDate(this.resultData[i].birth_date);
+ this.resultNum = this.resultData.length;
}
} else {
this.resultData = [];
@@ -133,6 +140,7 @@ export class DashboardComponent implements OnInit {
for (const i in this.resultData2) {
this.resultData2[i].link = this._common.decodeURI(this.resultData2[i].link);
this.resultData2[i].birth_date = this._common.convertDate(this.resultData2[i].birth_date);
+ this.resultNum2 = this.resultData2.length;
}
} else {
this.resultData2 = [];
@@ -192,6 +200,7 @@ export class DashboardComponent implements OnInit {
for (const i in this.resultData3) {
this.resultData3[i].link = this._common.decodeURI(this.resultData3[i].link);
this.resultData3[i].birth_date = this._common.convertDate(this.resultData3[i].birth_date);
+ this.resultNum3 = this.resultData3.length;
}
} else {
this.resultData3 = [];
@@ -249,6 +258,7 @@ export class DashboardComponent implements OnInit {
for (const i in this.resultData4) {
this.resultData4[i].link = this._common.decodeURI(this.resultData4[i].link);
this.resultData4[i].birth_date = this._common.convertDate(this.resultData4[i].birth_date);
+ this.resultNum4 = this.resultData4.length;
}
} else {
this.resultData4 = [];
@@ -306,6 +316,7 @@ export class DashboardComponent implements OnInit {
for (const i in this.resultData5) {
this.resultData5[i].link = this._common.decodeURI(this.resultData5[i].link);
this.resultData5[i].birth_date = this._common.convertDate(this.resultData5[i].birth_date);
+ this.resultNum5 = this.resultData5.length;
}
} else {
this.resultData5 = [];
@@ -362,6 +373,7 @@ export class DashboardComponent implements OnInit {
for (const i in this.resultData6) {
this.resultData6[i].link = this._common.decodeURI(this.resultData6[i].link);
this.resultData6[i].birth_date = this._common.convertDate(this.resultData6[i].birth_date);
+ this.resultNum6 = this.resultData6.length;
}
} else {
this.resultData6 = [];
--
libgit2 0.21.2