vc-create-dashboard 2.7.3 → 2.7.4

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.
@@ -3782,8 +3782,8 @@ class CreateDashboardComponent {
3782
3782
  this.dashboardForm.selectedResponsibilityCategories = this.setList(this.allComplianceCategories, data?.responsibility_category, 'category_id');
3783
3783
  this.dashboardForm.selectedRiskCategories = this.setList(this.allRiskCategories, data?.risk_category, 'category_id');
3784
3784
  this.dashboardForm.displayCriteria = (data?.display_criteria === "BOTH_RC_AND_CATEGORY") ? 'and' : 'or';
3785
- this.dashboardForm.selectedFromDate = (data?.timeframe?.start_date) ? moment(data?.timeframe?.start_date, 'YYYY-MM-DD')?.toDate() : undefined;
3786
- this.dashboardForm.selectedToDate = (data?.timeframe?.end_date) ? moment(data?.timeframe?.end_date, 'YYYY-MM-DD')?.toDate() : undefined;
3785
+ this.dashboardForm.selectedFromDate = (data?.timeframe?.start_date) ? moment('2022-11-22', 'YYYY-MM-DD')?.toDate() : undefined;
3786
+ this.dashboardForm.selectedToDate = (data?.timeframe?.end_date) ? moment('2022-11-22', 'YYYY-MM-DD')?.toDate() : undefined;
3787
3787
  this.vLoader = false;
3788
3788
  this.dashboardForm.configureWidget = data.widget_details;
3789
3789
  this.selectedWidgets = data.widget_details.length > 0 ? [...new Set(data.widget_details)] : [];