Skip to content

Commit

Permalink
fix(core): fix of undefined value
Browse files Browse the repository at this point in the history
fix of value

GH-71
  • Loading branch information
Deepika516 committed Mar 26, 2024
1 parent b599567 commit efc39e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ export class BuilderComponent<E> implements OnInit, OnChanges {
return;
}

let value = firstEvent.state.get('value');
// let value = firstEvent.state.get('value');
let value = events.length > 0 ? firstEvent?.state.get('value') : undefined;

if (typeof value === 'object') {
value = value.value;
Expand Down
2 changes: 1 addition & 1 deletion projects/workflows-element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"access": "public",
"directory": "dist"
},
"hash": "24191f21fc1004d7e80232918f4268c427089e3248f3c474b69e24a941a704bf"
"hash": "2de169ac759548f51f2397daa81b6187fa75d7ca99c31f0f14e9ab95335919fb"
}

0 comments on commit efc39e8

Please sign in to comment.