Skip to content

Commit 5c2e7bb

Browse files
authored
Up Core to 3.16 (#2)
* up core 3.16
1 parent fbe2384 commit 5c2e7bb

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ sfdx force:auth:web:login -d -a <YourOrgAlias>
4444
Install the Lightning Flow Scanner Component required for core functionality:
4545

4646
```sh
47-
sfdx force:package:install --package 04tDn0000011NplIAE --wait 10 -u <YourOrgAlias>
47+
sfdx force:package:install --package 04tDn0000011NpvIAE --wait 10 -u <YourOrgAlias>
4848
```
4949

5050
3) Push Source to Your Org:

lfs_component/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ After installing the package, you can add the LightningFlowScanner component to
3333
## Installation
3434

3535
```sh
36-
sfdx force:package:install --package 04tDn0000011NpgIAE --wait 10 -u <YourOrg>
36+
sfdx force:package:install --package 04tDn0000011NpvIAE --wait 10 -u <YourOrg>
3737
```
3838

3939
## Development

lfs_component/force-app/main/default/staticresources/LFS.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,8 @@
626626
for (const element of loopElements) {
627627
let loopEnd;
628628
// Check if 'noMoreValuesConnector' attribute exists
629-
if (element.element['noMoreValuesConnector'] && element.element['noMoreValuesConnector'][0]) {
630-
loopEnd = element.element['noMoreValuesConnector'][0].targetReference[0];
629+
if (element.element['noMoreValuesConnector'] && element.element['noMoreValuesConnector']) {
630+
loopEnd = element.element['noMoreValuesConnector'].targetReference;
631631
}
632632
else {
633633
loopEnd = element.name;
@@ -903,7 +903,7 @@
903903
let isNullOperator = false;
904904
let checksIfFalse = false;
905905
if (condition.leftValueReference && condition.leftValueReference.length > 0) {
906-
let valueReference = condition.leftValueReference[0];
906+
let valueReference = condition.leftValueReference;
907907
for (let ref of resultReferences) {
908908
referenceFound = ref.includes(valueReference);
909909
if (referenceFound) {
@@ -912,11 +912,11 @@
912912
}
913913
}
914914
if (condition.operator && condition.operator.length > 0) {
915-
let operator = condition.operator[0];
915+
let operator = condition.operator;
916916
isNullOperator = (operator === 'IsNull');
917917
}
918-
if (condition.rightValue && condition.rightValue.length > 0 && condition.rightValue[0].booleanValue && condition.rightValue[0].booleanValue.length > 0) {
919-
let rightValue = condition.rightValue[0].booleanValue[0];
918+
if (condition.rightValue && condition.rightValue.length > 0 && condition.rightValue.booleanValue && condition.rightValue.booleanValue.length > 0) {
919+
let rightValue = condition.rightValue.booleanValue;
920920
checksIfFalse = (rightValue.toLowerCase() === 'false');
921921
}
922922
if (referenceFound && isNullOperator && checksIfFalse) {

lfs_component/sfdx-project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"packageAliases": {
1515
"lfs_component": "0HoDn0000010wC9KAI",
1616
"[email protected]": "04tDn0000011NpgIAE",
17-
"[email protected]": "04tDn0000011NplIAE"
17+
"[email protected]": "04tDn0000011NplIAE",
18+
"[email protected]": "04tDn0000011NpvIAE"
1819
}
1920
}

0 commit comments

Comments
 (0)