@fundamental-ngx/platform 0.55.2-rc.0 → 0.55.2-rc.2

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/README.md CHANGED
@@ -8,15 +8,15 @@
8
8
 
9
9
  ## Content
10
10
 
11
- - [1. Description](#1)
12
- - [2. Requirements](#2)
13
- - [3. Versioning](#3)
14
- - [4. Getting Started](#4)
15
- - [5. Known Issues](#5)
16
- - [6. Support](#6)
17
- - [7. Contributing](#7)
18
- - [8. License](https://github.com/SAP/fundamental-ngx/blob/main/LICENSE.txt)
19
- - [9. Similar Projects](#8)
11
+ - [1. Description](#1)
12
+ - [2. Requirements](#2)
13
+ - [3. Versioning](#3)
14
+ - [4. Getting Started](#4)
15
+ - [5. Known Issues](#5)
16
+ - [6. Support](#6)
17
+ - [7. Contributing](#7)
18
+ - [8. License](https://github.com/SAP/fundamental-ngx/blob/main/LICENSE.txt)
19
+ - [9. Similar Projects](#8)
20
20
 
21
21
  ## <a name="1"></a>1. Description
22
22
 
@@ -2277,7 +2277,7 @@ class ApprovalFlowComponent {
2277
2277
  const target = nodeToDelete.targets[0];
2278
2278
  const isParentParallelStart = this._graphMetadata[parent?.id]?.parallelStart;
2279
2279
  const isTargetParallelEnd = this._graphMetadata[target]?.parallelEnd;
2280
- const targets = (isParentParallelStart && isTargetParallelEnd) || nodesToDelete.length > 1 ? [] : currNode?.targets ?? [];
2280
+ const targets = (isParentParallelStart && isTargetParallelEnd) || nodesToDelete.length > 1 ? [] : (currNode?.targets ?? []);
2281
2281
  this._replaceTargets(nodeToDelete.id, targets);
2282
2282
  this._approvalProcess.nodes = this._approvalProcess.nodes.filter((node) => !nodesToDelete.includes(node));
2283
2283
  }