vc-create-dashboard 2.8.17 → 2.8.18

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.
@@ -3700,7 +3700,9 @@ class CreateDashboardComponent {
3700
3700
  this.vLoader = true;
3701
3701
  const dashboard = this.dashboardForm;
3702
3702
  console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD')", dashboard, new Date(dashboard?.selectedFromDate));
3703
- console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD') 123", dayjs(dashboard?.selectedFromDate).format('YYYY-MM-DD'));
3703
+ // console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD') 123",dayjs(dashboard?.selectedFromDate).format('YYYY-MM-DD'))
3704
+ console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD') checking ", this.mode);
3705
+ console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD') checking 0", dayjs(new Date(dashboard?.selectedFromDate)).format('YYYY-MM-DD'));
3704
3706
  const payload = {
3705
3707
  dashboard_name: dashboard.dashboardName,
3706
3708
  description: [
@@ -3722,6 +3724,7 @@ class CreateDashboardComponent {
3722
3724
  email_summary: this.setFrequency('', 'export'),
3723
3725
  widget_details: dashboard.configureWidget
3724
3726
  };
3727
+ console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD') checking 1", this.mode);
3725
3728
  if (this.mode == 'CREATE') {
3726
3729
  this.createDashboardService.submitDashboard(payload).subscribe((res) => {
3727
3730
  this.vLoader = false;