mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-26 01:35:28 +03:00
Don't show Add Link button if not supported by API
This commit is contained in:
parent
f44de1167e
commit
9a59604b0f
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ TABS.auxiliary.initialize = function (callback) {
|
|||
$(newMode).find('a.addLink').data('modeElement', newMode);
|
||||
|
||||
// hide link button for ARM
|
||||
if (modeId == 0) {
|
||||
if (modeId == 0 || semver.lt(CONFIG.apiVersion, "1.41.0")) {
|
||||
$(newMode).find('.addLink').hide();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue