- {{item.days.toFixed(0)}} D
+
+ {{(item.days/60).toFixed(0)}} D
diff --git a/src/app/dashboard/dashboard.component.ts b/src/app/dashboard/dashboard.component.ts
index 5c30733..2aa6139 100644
--- a/src/app/dashboard/dashboard.component.ts
+++ b/src/app/dashboard/dashboard.component.ts
@@ -12,18 +12,38 @@ export class DashboardComponent implements OnInit {
resultData: any;
+ // getColor(ColorDays) {
+ // switch (Days) {
+ // case 'greenDay':
+ // return 'green';
+ // case 'yellowDay':
+ // return 'yellow';
+ // case 'redDay':
+ // return 'red';
+ // }
+ // }
- // DaysColor: any[] = [
- // {
- // "DayRed": '0','1','2','3','4','5','6','7'
- // },
- // {
- // "DayYellow": '8','9','10','11','12','13','14','15',
- // }
- // {
- // "DayGreen": 16,
- // // }
- // ];
+ // ColorDays: any[] = [
+ // {
+ // "Days": ['0','1','2','3','4','5','6','7']
+ // },
+ // {
+ // "name": "Mcleod Mueller",
+ // "country": 'USA'
+ // },
+ // {
+ // "name": "Day Meyers",
+ // "country": 'HK'
+ // },
+ // {
+ // "name": "Aguirre Ellis",
+ // "country": 'UK'
+ // },
+ // {
+ // "name": "Cook Tyson",
+ // "country": 'USA'
+ // }
+ // ];
constructor(
private _apiService: ApiService,
diff --git a/src/index.html b/src/index.html
index 21d10c0..5bc6c85 100644
--- a/src/index.html
+++ b/src/index.html
@@ -3,7 +3,9 @@
TestApi
-
+
+
+
--
libgit2 0.21.2