Skip to content

Commit

Permalink
Merge branch 'develop' into feat/loadable-modules2
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jan 21, 2025
2 parents 980e427 + 4f30410 commit 20a1a68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions companion/lib/Data/Upgrades/v6tov7.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ function fixupControlEntities(control: ExportControlv6): void {

control.feedbacks = control.feedbacks?.map(fixupFeedback) ?? []
} else if (control.type === 'trigger') {
if (control.action_sets) {
control.actions = control.action_sets.map(fixupAction)
if (control.action_sets?.[0]) {
control.actions = control.action_sets[0].map(fixupAction)
delete control.action_sets
} else {
control.actions = []
Expand Down

0 comments on commit 20a1a68

Please sign in to comment.