@redneckz/wildless-cms-uni-blocks 0.14.638 → 0.14.639

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.
@@ -6082,9 +6082,18 @@
6082
6082
  if (localStorageData) {
6083
6083
  // TODO: Fill in for other fields with type Date
6084
6084
  // TODO: Take it out to the helper
6085
- localStorageData.birthday = localStorageData.dulIssueDateField = new Date(localStorageData?.birthday || Date.now());
6086
- localStorageData.participantDateRegistration = new Date(localStorageData?.participantDateRegistration || Date.now());
6087
- localStorageData.beginDate = new Date(localStorageData?.beginDate || Date.now());
6085
+ localStorageData.birthday = localStorageData.birthday
6086
+ ? new Date(localStorageData.birthday)
6087
+ : undefined;
6088
+ localStorageData.dulIssueDateField = localStorageData.dulIssueDateField
6089
+ ? new Date(localStorageData.dulIssueDateField)
6090
+ : undefined;
6091
+ localStorageData.participantDateRegistration = localStorageData.participantDateRegistration
6092
+ ? new Date(localStorageData.participantDateRegistration)
6093
+ : undefined;
6094
+ localStorageData.beginDate = localStorageData?.beginDate
6095
+ ? new Date(localStorageData.beginDate)
6096
+ : undefined;
6088
6097
  }
6089
6098
  return {
6090
6099
  ...formStateMap[step],
@@ -8809,7 +8818,7 @@
8809
8818
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
8810
8819
  });
8811
8820
 
8812
- const packageVersion = "0.14.637";
8821
+ const packageVersion = "0.14.638";
8813
8822
 
8814
8823
  exports.Blocks = Blocks;
8815
8824
  exports.ContentPage = ContentPage;