1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-19 22:35:17 +03:00

Show vtx tab only when vtx build option used (#4526)

Move vtx from defaultAllowedTabs to defaultCloudBuildTabOptions
This commit is contained in:
MikeNomatter 2025-06-20 20:57:13 +02:00 committed by GitHub
parent 4d8d3fd133
commit 338c2d4444
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,10 +38,9 @@ class GuiControl {
"ports",
"receiver",
"sensors",
"vtx",
];
this.defaultCloudBuildTabOptions = ["gps", "led_strip", "osd", "servos", "transponder"];
this.defaultCloudBuildTabOptions = ["gps", "led_strip", "osd", "servos", "transponder", "vtx"];
this.defaultAllowedFCTabsWhenConnected = [...this.defaultAllowedTabs, ...this.defaultCloudBuildTabOptions];