mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Update messaging used when api version is incompatible.
This commit is contained in:
parent
6031907163
commit
3a4ea7e1c1
2 changed files with 12 additions and 4 deletions
4
main.js
4
main.js
|
@ -63,12 +63,12 @@ $(document).ready(function () {
|
|||
tab = $(self).parent().prop('class');
|
||||
|
||||
if (!CONFIGURATOR.connectionValid) {
|
||||
GUI.log('You need to <strong>connect</strong> before you can view any of the tabs');
|
||||
GUI.log('tabSwitchConnectionRequired');
|
||||
return;
|
||||
}
|
||||
|
||||
if (CONFIGURATOR.connectionValidCliOnly) {
|
||||
GUI.log('You need to <strong>upgrade</strong> your firmware before you can view any of the tabs. Use CLI for backup before flashing!');
|
||||
GUI.log(chrome.i18n.getMessage('tabSwitchUpgradeRequired'));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue