1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-25 01:05:15 +03:00

FIX: Load firmware online button not enabled if not in expert mode (#3142)

This commit is contained in:
J Blackman 2022-12-15 06:49:36 +11:00 committed by GitHub
parent 44684cb8d0
commit 54747c9c2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -279,8 +279,7 @@ firmware_flasher.initialize = function (callback) {
const expertMode = $('.tab-firmware_flasher input.expert_mode').is(':checked');
if (!expertMode) {
$('div.commitSelection').hide();
return;
}
} else {
$('div.commitSelection').show();
self.releaseLoader.loadCommits(summary.release, (commits) => {
@ -291,6 +290,7 @@ firmware_flasher.initialize = function (callback) {
});
});
}
}
if (summary.configuration && !self.isConfigLocal) {
setBoardConfig(summary.configuration.join('\n'));