diff --git a/gui/main.js b/gui/main.js index de5dd6fc..cb647953 100644 --- a/gui/main.js +++ b/gui/main.js @@ -101,7 +101,8 @@ const configDefaultSettings = "enable_auto_retry" : "False", \ "tx_delay" : 0, \ "auto_start": 0, \ - "enable_sys_notification": 1 \ + "enable_sys_notification": 1, \ + "enable_mesh_features": 0 \ }'; if (!fs.existsSync(configPath)) { diff --git a/gui/preload-main.js b/gui/preload-main.js index 7f511d81..bf94e2fd 100644 --- a/gui/preload-main.js +++ b/gui/preload-main.js @@ -1760,7 +1760,17 @@ window.addEventListener("DOMContentLoaded", () => { }); autostart_rigctld(); + + //Enable mesh features by setting to 1, should be changed for releases + config.enable_mesh_features =1; + //config.enable_mesh_features =0; + + if (! config.enable_mesh_features == 1) { + document.getElementById("liMeshTable").style.visibility = "hidden"; + document.getElementById("liMeshTable").style.display = "none"; + } }); +//End of domcontentloaded function resetSortIcon() { document.getElementById("hslSort").remove(); diff --git a/gui/src/index.html b/gui/src/index.html index 1298b172..c2590fcd 100644 --- a/gui/src/index.html +++ b/gui/src/index.html @@ -215,14 +215,18 @@ Settings +
  • +
  • +
  • +