cat-qw-lib 1.0.19 → 1.0.20

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.
@@ -4701,8 +4701,7 @@ class WidgetItemComponent {
4701
4701
  this.widgetStore.setEventClickDetails({ recordId: null, isDailogShow: false });
4702
4702
  }
4703
4703
  isDate(value) {
4704
- const date = moment(value);
4705
- return date.isValid();
4704
+ return moment(value).isValid();
4706
4705
  }
4707
4706
  handleWidgetItemClick(widgetItem) {
4708
4707
  const updatedItem = { ...widgetItem };