@trackunit/iris-app-runtime-core 0.3.60 → 0.3.62

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.
Files changed (3) hide show
  1. package/index.cjs +1 -1
  2. package/index.js +1 -1
  3. package/package.json +3 -3
package/index.cjs CHANGED
@@ -555,7 +555,7 @@ const getCustomFieldValueFromRawValue = (customFieldDefinition, newValue) => {
555
555
  }
556
556
  else if (customFieldDefinition.type === irisAppRuntimeCoreApi.CustomFieldType.DATE) {
557
557
  return {
558
- dateValue: getDateValue(newValue),
558
+ dateValue: newValue ? getDateValue(newValue) : null,
559
559
  type: irisAppRuntimeCoreApi.CustomFieldType.DATE,
560
560
  };
561
561
  }
package/index.js CHANGED
@@ -552,7 +552,7 @@ const getCustomFieldValueFromRawValue = (customFieldDefinition, newValue) => {
552
552
  }
553
553
  else if (customFieldDefinition.type === CustomFieldType.DATE) {
554
554
  return {
555
- dateValue: getDateValue(newValue),
555
+ dateValue: newValue ? getDateValue(newValue) : null,
556
556
  type: CustomFieldType.DATE,
557
557
  };
558
558
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-runtime-core",
3
- "version": "0.3.60",
3
+ "version": "0.3.62",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -11,8 +11,8 @@
11
11
  "type": "module",
12
12
  "types": "./src/index.d.ts",
13
13
  "dependencies": {
14
- "@trackunit/iris-app-runtime-core-api": "0.3.54",
15
- "@trackunit/react-core-contexts-api": "0.2.50"
14
+ "@trackunit/iris-app-runtime-core-api": "0.3.55",
15
+ "@trackunit/react-core-contexts-api": "0.2.51"
16
16
  },
17
17
  "peerDependencies": {}
18
18
  }