sf-i-events 1.0.50 → 1.0.52

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.50",
4
+ "version": "1.0.52",
5
5
  "description": "Superflows Navigation Component",
6
6
  "main": "sf-i-events.js",
7
7
  "module": "sf-i-events.js",
package/sf-i-events.js CHANGED
@@ -1927,7 +1927,7 @@ let SfIEvents = class SfIEvents extends LitElement {
1927
1927
  console.log('processing due date', value.duedate.replace(/['"]+/g, ''));
1928
1928
  console.log('processing due date', this.mappings);
1929
1929
  var duedate = value.duedate;
1930
- if (this.mappings.duedates[value.id] != null && this.mappings.duedates[value.id] != "") {
1930
+ if (this.mappings != null && this.mappings.duedates != null && this.mappings.duedates[value.id] != null && this.mappings.duedates[value.id] != "") {
1931
1931
  duedate = this.mappings.duedates[value.id];
1932
1932
  }
1933
1933
  const duedateArr = duedate.replace(/['"]+/g, '').split(",");