Skip to content

Commit

Permalink
Fixed areEqualOutcomes name/displayName comparison in workflow-editor…
Browse files Browse the repository at this point in the history
….ts (#17255)
  • Loading branch information
Habbni authored Dec 18, 2024
1 parent b3ac8fa commit 21ab7d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class WorkflowEditor extends WorkflowCanvas {
const outcome1 = outcomes1[i];
const outcome2 = outcomes2[i];

if (outcome1.name != outcome2.displayName || outcome1.displayName != outcome2.displayName) {
if (outcome1.name != outcome2.name || outcome1.displayName != outcome2.displayName) {
return false;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ var WorkflowEditor = /** @class */function (_super) {
for (var i = 0; i < outcomes1.length; i++) {
var outcome1 = outcomes1[i];
var outcome2 = outcomes2[i];
if (outcome1.name != outcome2.displayName || outcome1.displayName != outcome2.displayName) {
if (outcome1.name != outcome2.name || outcome1.displayName != outcome2.displayName) {
return false;
}
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 21ab7d7

Please sign in to comment.