@sparrowengg/integrations-templates-frontend 2.1.0-notion-release.25 → 2.1.0-notion-release.26
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/dist/cjs/_virtual/index10.js +2 -2
- package/dist/cjs/_virtual/index8.js +2 -2
- package/dist/cjs/integration-template/components/dashboard.js +3 -3
- package/dist/cjs/integration-template/components/dashboard.js.map +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/html-dom-parser/node_modules/domutils/lib/index.js +1 -1
- package/dist/cjs/node_modules/html-dom-parser/node_modules/htmlparser2/lib/index.js +1 -1
- package/dist/cjs/triggers/components/subcomponents.js +4 -4
- package/dist/cjs/triggers/components/subcomponents.js.map +1 -1
- package/dist/cjs/triggers/index.js +1 -0
- package/dist/cjs/triggers/index.js.map +1 -1
- package/dist/es/_virtual/index10.js +2 -2
- package/dist/es/_virtual/index8.js +2 -2
- package/dist/es/integration-template/components/dashboard.js +3 -3
- package/dist/es/integration-template/components/dashboard.js.map +1 -1
- package/dist/es/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/es/node_modules/html-dom-parser/node_modules/domutils/lib/index.js +1 -1
- package/dist/es/node_modules/html-dom-parser/node_modules/htmlparser2/lib/index.js +1 -1
- package/dist/es/triggers/components/subcomponents.js +4 -4
- package/dist/es/triggers/components/subcomponents.js.map +1 -1
- package/dist/es/triggers/index.js +1 -0
- package/dist/es/triggers/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -539,14 +539,14 @@ const TriggerDasboardItem = ({
|
|
|
539
539
|
const filterConditions = data.filters.map((filterGroup) => {
|
|
540
540
|
var _a2;
|
|
541
541
|
return (_a2 = filterGroup.filter.map((filter) => {
|
|
542
|
-
var _a3, _b2;
|
|
542
|
+
var _a3, _b2, _c2, _d2;
|
|
543
543
|
const field2 = filter.field;
|
|
544
544
|
const comparator = filter.comparator;
|
|
545
545
|
const value = filter.value;
|
|
546
546
|
const formattedComparator = ((_a3 = index$1.operatorOptions.find((option) => option.value === comparator)) == null ? void 0 : _a3.label) || comparator;
|
|
547
|
-
const fieldLabel = (_b2 = fieldOptions.find(
|
|
547
|
+
const fieldLabel = (_d2 = (_c2 = (_b2 = fieldOptions.find(
|
|
548
548
|
(options) => options.value === field2
|
|
549
|
-
)) == null ? void 0 : _b2.label;
|
|
549
|
+
)) == null ? void 0 : _b2.label) != null ? _c2 : field2 == null ? void 0 : field2.label) != null ? _d2 : field2;
|
|
550
550
|
return `${fieldLabel} ${formattedComparator === "NO_PREFERENCE" ? "has no preference" : formattedComparator} ${value}`;
|
|
551
551
|
})) == null ? void 0 : _a2.join(
|
|
552
552
|
` <span style="color: #6A6A6A;font-weight: 600;">${filterGroup.condition.toLowerCase()}</span> `
|