Skip to content

Commit

Permalink
fix(utils): remove undefined values in combineFrameInstance (#3513)
Browse files Browse the repository at this point in the history
  • Loading branch information
sedghi authored Jul 4, 2023
1 parent 3b50bd8 commit 3efa793
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform/core/src/utils/combineFrameInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const combineFrameInstance = (frame, instance) => {
? Object.values(SharedFunctionalGroupsSequence[0])
: []
)
.filter(it => !!it)
.map(it => it[0])
.filter(it => it !== undefined && typeof it === 'object');
const perFrame = (PerFrameFunctionalGroupsSequence
Expand Down

0 comments on commit 3efa793

Please sign in to comment.