diff --git a/src/app/dashboard/dashboard.component.ts b/src/app/dashboard/dashboard.component.ts index f914557..5c30733 100644 --- a/src/app/dashboard/dashboard.component.ts +++ b/src/app/dashboard/dashboard.component.ts @@ -11,16 +11,18 @@ import { CommonService } from '../services/common/common.service'; export class DashboardComponent implements OnInit { resultData: any; + - // DaysColor : [{ - // "DayRed": '0','1','2','3','4','5','6','7' - // }, + // DaysColor: any[] = [ // { - // "DayYellow": '8','9','10','11','12','13','14','15', + // "DayRed": '0','1','2','3','4','5','6','7' // }, // { - // "DayGreen": "Main Server", + // "DayYellow": '8','9','10','11','12','13','14','15', // } + // { + // "DayGreen": 16, + // // } // ]; constructor( @@ -36,6 +38,8 @@ export class DashboardComponent implements OnInit { "params": ["vtiger_crmentity"] } + + try { let response = await this._apiService.post('dynamic', data); if (response !== null) { diff --git a/src/index.html b/src/index.html index 738abeb..21d10c0 100644 --- a/src/index.html +++ b/src/index.html @@ -3,7 +3,7 @@