mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
Fix for preset options that are outside of any groups (#4285)
This commit is contained in:
parent
937564aafe
commit
7688c452c6
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ export default class PresetsDetailedDialog {
|
|||
const groupIndex = selectedOptionKey.slice(firstUnderscoreIndex + 1, lastUnderscoreIndex);
|
||||
|
||||
const group = this._preset.options[groupIndex];
|
||||
if (group.isExclusive) {
|
||||
if (group?.isExclusive) {
|
||||
// clear all options within group
|
||||
const valuesWithinGroup = this._domOptionsSelect.find(`optgroup[label="${group.name}"]`)
|
||||
.children()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue