Commit 0f43868352de0b1df2b33372679f733477b3442f
1 parent
fa21d280
Exists in
master
no message
Showing
2 changed files
with
10 additions
and
6 deletions
Show diff stats
src/app/dashboard/dashboard.component.ts
| ... | ... | @@ -11,16 +11,18 @@ import { CommonService } from '../services/common/common.service'; |
| 11 | 11 | export class DashboardComponent implements OnInit { |
| 12 | 12 | |
| 13 | 13 | resultData: any; |
| 14 | + | |
| 14 | 15 | |
| 15 | - // DaysColor : [{ | |
| 16 | - // "DayRed": '0','1','2','3','4','5','6','7' | |
| 17 | - // }, | |
| 16 | + // DaysColor: any[] = [ | |
| 18 | 17 | // { |
| 19 | - // "DayYellow": '8','9','10','11','12','13','14','15', | |
| 18 | + // "DayRed": '0','1','2','3','4','5','6','7' | |
| 20 | 19 | // }, |
| 21 | 20 | // { |
| 22 | - // "DayGreen": "Main Server", | |
| 21 | + // "DayYellow": '8','9','10','11','12','13','14','15', | |
| 23 | 22 | // } |
| 23 | + // { | |
| 24 | + // "DayGreen": 16, | |
| 25 | + // // } | |
| 24 | 26 | // ]; |
| 25 | 27 | |
| 26 | 28 | constructor( |
| ... | ... | @@ -36,6 +38,8 @@ export class DashboardComponent implements OnInit { |
| 36 | 38 | "params": ["vtiger_crmentity"] |
| 37 | 39 | } |
| 38 | 40 | |
| 41 | + | |
| 42 | + | |
| 39 | 43 | try { |
| 40 | 44 | let response = await this._apiService.post('dynamic', data); |
| 41 | 45 | if (response !== null) { | ... | ... |
src/index.html