@@ -43,7 +43,7 @@ import { saveModemConfig } from "../js/api";
class="form-select form-select-sm"
aria-label=".form-select-sm"
v-html="audio.getInputDevices()"
- @change="saveModemConfig"
+ @change="setConfig"
>
@@ -54,7 +54,7 @@ import { saveModemConfig } from "../js/api";
class="form-select form-select-sm"
aria-label=".form-select-sm"
v-html="audio.getOutputDevices()"
- @change="saveModemConfig"
+ @change="setConfig"
>
diff --git a/gui/src/components/main_startup_check.vue b/gui/src/components/main_startup_check.vue
index 3ae3fe06..a0b2a73b 100644
--- a/gui/src/components/main_startup_check.vue
+++ b/gui/src/components/main_startup_check.vue
@@ -4,8 +4,6 @@ import { onMounted } from "vue";
import infoScreen_updater from "./infoScreen_updater.vue";
-import { getModemVersion, saveModemConfig } from "../js/api";
-
import { setActivePinia } from "pinia";
import pinia from "../store/index";
setActivePinia(pinia);
@@ -20,8 +18,7 @@ const state = useStateStore(pinia);
import { startModem, stopModem } from "../js/api";
import { getModemConfig, getModemCurrentState } from "../js/api";
-
-import { startRigctld, stopRigctld } from "../js/deprecated_daemon";
+import { getVersion, getConfig, setConfig, startModem, stopModem } from "../js/api";
const version = import.meta.env.PACKAGE_VERSION;
var updateAvailable = process.env.FDUpdateAvail;
@@ -31,6 +28,8 @@ onMounted(() => {
getModemConfig();
getModemCurrentState();
getModemVersion();
+ getConfig();
+ getVersion();
new Modal("#modemCheck", {}).show();
});
@@ -212,7 +211,7 @@ function testHamlib() {
class="form-select form-select-sm"
id="rx_audio"
aria-label=".form-select-sm"
- @change="saveModemConfig"
+ @change="setConfig"
v-model="settings.input_device"
v-html="audio.getInputDevices()"
>
@@ -225,7 +224,7 @@ function testHamlib() {
class="form-select form-select-sm"
id="tx_audio"
aria-label=".form-select-sm"
- @change="saveModemConfig"
+ @change="setConfig"
v-model="settings.output_device"
v-html="audio.getOutputDevices()"
>
@@ -268,7 +267,7 @@ function testHamlib() {
class="form-select form-select-sm"
aria-label=".form-select-sm"
id="rigcontrol_radiocontrol"
- @change="saveModemConfig"
+ @change="setConfig"
v-model="settings.radiocontrol"
>