mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 01:05:15 +03:00
Small bug fixes
Cleaning up some errors in the javascript console before I start adding new ones. src/js/ConfigStorage.js: forgot to test writing multiple keys at once, can now write multiple keys at once. src/js/FirmwareCache.js: avoid throwing an error if someone comes asking for an undefined firmware src/js/jenkins_loader.js: same .error deprecation as #1568
This commit is contained in:
parent
e513c279a4
commit
3ab9097090
3 changed files with 9 additions and 3 deletions
|
@ -112,6 +112,9 @@ let FirmwareCache = (function () {
|
|||
* @returns {boolean}
|
||||
*/
|
||||
function has(release) {
|
||||
if (!release) {
|
||||
return false;
|
||||
}
|
||||
if (!journalLoaded) {
|
||||
console.warn("Cache not yet loaded");
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue