1
0
Fork 0
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:
Dave Huber 2019-02-23 23:32:00 -06:00
parent f44de1167e
commit 9a59604b0f

View file

@ -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();
}