vc-create-dashboard 2.8.10 → 2.8.12

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.
@@ -3676,7 +3676,7 @@ class CreateDashboardComponent {
3676
3676
  if (!this.dashboardForm.dashboardName || this.dashboardForm.dashboardName.trim() == ''
3677
3677
  || (this.dashboardForm.dashboardName.length > 30)
3678
3678
  || (this.textCount.transform(this.dashboardForm?.dashboardDescriptionText) > 250)
3679
- || (this.dashboardForm.selectedFromDate && (!this.dashboardForm.selectedToDate))
3679
+ || (this.dashboardForm?.selectedFromDate && (!this.dashboardForm.selectedToDate))
3680
3680
  || (this.dashboardForm.selectedResponsibilityCenters.length == 0 &&
3681
3681
  this.dashboardForm.selectedResponsibilityCategories.length == 0 &&
3682
3682
  this.dashboardForm.selectedRiskCategories.length == 0)) {
@@ -3698,6 +3698,8 @@ class CreateDashboardComponent {
3698
3698
  }
3699
3699
  this.vLoader = true;
3700
3700
  const dashboard = this.dashboardForm;
3701
+ console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD')", dashboard);
3702
+ console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD') 123", dayjs(dashboard?.selectedFromDate).format('YYYY-MM-DD'));
3701
3703
  const payload = {
3702
3704
  dashboard_name: dashboard.dashboardName,
3703
3705
  description: [