@pxp-nd/flow 1.0.90 → 1.0.91

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.
@@ -384,8 +384,12 @@ let Flow = class Flow extends core_1.Controller {
384
384
  }
385
385
  else {
386
386
  const oName = (_a = totalNodes === null || totalNodes === void 0 ? void 0 : totalNodes.action) === null || _a === void 0 ? void 0 : _a.originName;
387
- //
388
- cond = `and at.name != 'EVENT' and (a.originName is null or a.originName = '${oName}')`;
387
+ if (flow.templateType == 'funnel') {
388
+ cond = `and (at.name ='PAGE') and (a.originName is null or a.originName = '${oName}')`;
389
+ }
390
+ else {
391
+ cond = `and (at.name != 'EVENT' and at.name!='PAGE') and (a.originName is null or a.originName = '${oName}')`;
392
+ }
389
393
  }
390
394
  let actions = await (0, typeorm_1.getManager)()
391
395
  .createQueryBuilder(Action_1.default, "a")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pxp-nd/flow",
3
- "version": "1.0.90",
3
+ "version": "1.0.91",
4
4
  "description": "Workflow module for pxp-nd framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",