rez_core 4.0.66 → 4.0.70
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
|
@@ -58,8 +58,11 @@ export class ActionService extends EntityServiceImpl {
|
|
|
58
58
|
): Promise<any> {
|
|
59
59
|
const actionData = entityData as any;
|
|
60
60
|
|
|
61
|
-
//
|
|
62
|
-
|
|
61
|
+
// 🔧 Remove 'template' array before inserting main action
|
|
62
|
+
const { template, ...actionWithoutTemplates } = actionData;
|
|
63
|
+
|
|
64
|
+
// Step 1: Create main action entity
|
|
65
|
+
const action = await super.createEntity(actionWithoutTemplates, loggedInUser);
|
|
63
66
|
|
|
64
67
|
// Step 2: Create stage mapping
|
|
65
68
|
const stageActionMapping = {
|