@steedos-labs/plugin-workflow 3.0.53 → 3.0.54

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.
@@ -5,7 +5,7 @@
5
5
  <link rel="shortcut icon" type="image/svg+xml" href="/images/logo.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>designer</title>
8
- <script type="module" crossorigin src="/api/workflow/designer-v2/assets/index-3PKde6SC.js"></script>
8
+ <script type="module" crossorigin src="/api/workflow/designer-v2/assets/index-DXnimQAi.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="/api/workflow/designer-v2/assets/index-xR8ApdWL.css">
10
10
  </head>
11
11
  <body>
@@ -94,7 +94,7 @@ async function upgradeForm(formId, form, currentUserId, spaceId) {
94
94
  pass = recordsCount > 0;
95
95
  }
96
96
 
97
- if (pass === true) {
97
+ if (pass === true || true) {
98
98
  formUpdateObj.$push = { 'historys': ff["current"] };
99
99
  current._id = _makeNewID();
100
100
  current._rev = ff["current"]["_rev"] + 1;
@@ -210,7 +210,7 @@ async function upgradeFlow(flowCome, userId, flowId) {
210
210
  });
211
211
  pass = insCount > 0;
212
212
 
213
- if (pass === true && flow.current.start_date && stepsStr === flowComeStepsStr) {
213
+ if (pass === true && flow.current.start_date && stepsStr === flowComeStepsStr || true) {
214
214
  updateObj.$push = { 'historys': flow.current };
215
215
  current = {
216
216
  '_id': _makeNewID(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos-labs/plugin-workflow",
3
- "version": "3.0.53",
3
+ "version": "3.0.54",
4
4
  "main": "package.service.js",
5
5
  "license": "MIT",
6
6
  "files": [