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.
@@ -3730,7 +3730,9 @@ class CreateDashboardComponent {
3730
3730
  this.vLoader = true;
3731
3731
  const dashboard = this.dashboardForm;
3732
3732
  console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD')", dashboard, new Date(dashboard === null || dashboard === void 0 ? void 0 : dashboard.selectedFromDate));
3733
- console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD') 123", dayjs(dashboard === null || dashboard === void 0 ? void 0 : dashboard.selectedFromDate).format('YYYY-MM-DD'));
3733
+ // console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD') 123",dayjs(dashboard?.selectedFromDate).format('YYYY-MM-DD'))
3734
+ console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD') checking ", this.mode);
3735
+ console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD') checking 0", dayjs(new Date(dashboard === null || dashboard === void 0 ? void 0 : dashboard.selectedFromDate)).format('YYYY-MM-DD'));
3734
3736
  const payload = {
3735
3737
  dashboard_name: dashboard.dashboardName,
3736
3738
  description: [
@@ -3752,6 +3754,7 @@ class CreateDashboardComponent {
3752
3754
  email_summary: this.setFrequency('', 'export'),
3753
3755
  widget_details: dashboard.configureWidget
3754
3756
  };
3757
+ console.log("dayjs(dashboard.selectedFromDate).format('YYYY-MM-DD') checking 1", this.mode);
3755
3758
  if (this.mode == 'CREATE') {
3756
3759
  this.createDashboardService.submitDashboard(payload).subscribe((res) => {
3757
3760
  this.vLoader = false;