mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 16:55:24 +03:00
Presets: fix a bug when saving freezes the progress dialog (because of the \r in the CLI text)
This commit is contained in:
parent
4fe2d9382c
commit
272b0fb1ba
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ TABS.presets.getPickedPresetsCli = function() {
|
|||
this.pickedPresetList.forEach(pickedPreset => {
|
||||
result.push(...pickedPreset.presetCli);
|
||||
});
|
||||
result = result.filter(command => command !== "");
|
||||
result = result.filter(command => command.trim() !== "");
|
||||
return result;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue