mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 00:35:26 +03:00
Enable video transmitter tab (#3505)
This commit is contained in:
parent
9b9e5bf99e
commit
ea02a48c07
5 changed files with 22 additions and 17 deletions
|
@ -536,9 +536,10 @@ function setRtc() {
|
|||
|
||||
function finishOpen() {
|
||||
CONFIGURATOR.connectionValid = true;
|
||||
|
||||
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_45) && FC.CONFIG.buildOptions.length) {
|
||||
|
||||
GUI.allowedTabs = GUI.defaultAllowedTabsCloudBuild;
|
||||
GUI.allowedTabs = Array.from(GUI.defaultAllowedTabs);
|
||||
|
||||
for (const tab of GUI.defaultCloudBuildTabOptions) {
|
||||
if (FC.CONFIG.buildOptions.some(opt => opt.toLowerCase().includes(tab))) {
|
||||
|
@ -547,7 +548,7 @@ function finishOpen() {
|
|||
}
|
||||
|
||||
} else {
|
||||
GUI.allowedTabs = GUI.defaultAllowedFCTabsWhenConnected.slice();
|
||||
GUI.allowedTabs = Array.from(GUI.defaultAllowedFCTabsWhenConnected);
|
||||
}
|
||||
|
||||
if (GUI.isCordova()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue