@pxp-nd/flow 1.0.81 → 1.0.82

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.
@@ -382,7 +382,7 @@ let Flow = class Flow extends core_1.Controller {
382
382
  .getOne();
383
383
  let cond = " and 0=0";
384
384
  if (!totalNodes) {
385
- cond = " and (at.name in ( 'EVENT','PAGE')) ";
385
+ cond = " and (at.name in ( 'EVENT')) ";
386
386
  }
387
387
  else {
388
388
  const oName = (_a = totalNodes === null || totalNodes === void 0 ? void 0 : totalNodes.action) === null || _a === void 0 ? void 0 : _a.originName;
@@ -394,7 +394,7 @@ let Flow = class Flow extends core_1.Controller {
394
394
  where a.action_id = ${(_c = totalNodes === null || totalNodes === void 0 ? void 0 : totalNodes.action) === null || _c === void 0 ? void 0 : _c.actionId}
395
395
  `);
396
396
  if (actionTypePage[0].name == 'PAGE') {
397
- cond = `and at.name = 'PAGE' `;
397
+ cond = `and a.code = 'BRIDGE' and at.name='PAGE'`;
398
398
  }
399
399
  else {
400
400
  cond = `and (at.name not in ('EVENT','PAGE')) and (a.originName is null or a.originName = '${oName}') `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pxp-nd/flow",
3
- "version": "1.0.81",
3
+ "version": "1.0.82",
4
4
  "description": "Workflow module for pxp-nd framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",