Skip to content

Commit

Permalink
config: fix select type defaults after #5357 (#5372)
Browse files Browse the repository at this point in the history
For trigger set config ui that has a select box, the default was not
being set. This would only have broken #5367 at this point.

Huge thanks to @Legends0 for a ton of help tracking this down.
  • Loading branch information
quisquous authored Apr 28, 2023
1 parent fe06b6c commit c5c12b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/user_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ class UserConfig {
else if (typeof value === 'string')
output[opt.id] = parseFloat(value);
} else {
options[opt.id] = value;
output[opt.id] = value;
}
}
}
Expand Down

0 comments on commit c5c12b1

Please sign in to comment.