@integry/sdk 4.6.81 → 4.6.83

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integry/sdk",
3
- "version": "4.6.81",
3
+ "version": "4.6.83",
4
4
  "description": "Integry SDK",
5
5
  "main": "dist/umd/index.umd.js",
6
6
  "module": "dist/esm/index.csm.js",
@@ -745,15 +745,27 @@ const TagList = ({
745
745
 
746
746
  const extractStepsFromOutputPath = (pathToExtract: string) => {
747
747
  const parts = pathToExtract.split('.'); // Split the string by dots
748
- const outputIndex = parts.lastIndexOf('output'); // Find the last occurrence of 'output'
749
748
 
750
- if (outputIndex === -1 || outputIndex === 0) return ''; // Return empty if 'output' is not found or it's at the start
749
+ // Find the first occurrence of 'output'
750
+ const firstOutputIndex = parts.indexOf('output');
751
751
 
752
- // Extract everything from the last step before 'output' to the end
753
- return parts
754
- .slice(outputIndex - 1)
755
- .filter((part) => part !== 'output')
756
- .join('.');
752
+ if (firstOutputIndex === -1 || firstOutputIndex === 0) {
753
+ return ''; // Return empty if 'output' is not found or it's at the start
754
+ }
755
+
756
+ // Get the step name (part before the first 'output')
757
+ const stepName = parts[firstOutputIndex - 1];
758
+
759
+ // Get all parts after the first 'output', including any other 'output' keys
760
+ const remainingParts = parts.slice(firstOutputIndex + 1);
761
+
762
+ // If there are remaining parts, combine the step name with them
763
+ if (remainingParts.length > 0) {
764
+ return `${stepName}.${remainingParts.join('.')}`;
765
+ }
766
+
767
+ // If there are no remaining parts, just return the step name
768
+ return stepName;
757
769
  };
758
770
 
759
771
  // Simplified rendering to fix syntax issues
@@ -1430,7 +1430,8 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
1430
1430
  let elParentFields = [];
1431
1431
  if (
1432
1432
  el.activity_field?.parent_fields &&
1433
- el.activity_field?.parent_fields !== ''
1433
+ el.activity_field?.parent_fields !== '' &&
1434
+ el.activity_field?.parent_fields !== 'null'
1434
1435
  ) {
1435
1436
  try {
1436
1437
  elParentFields = JSON.parse(