Added ignore option to rigctl device port

This commit is contained in:
Mashintime 2023-10-21 18:00:48 -04:00
parent 72255f7959
commit 929211c7e2

View file

@ -79,11 +79,14 @@ export const useSettingsStore = defineStore("settingsStore", () => {
function getSerialDevices() { function getSerialDevices() {
var html = ""; if (this.hamlib_deviceport == "ignore")
var html = '<option value ="ignore" selected>None - (use custom options for hamlib)</option>';
else
var html = '<option value ="ignore">None - (use custom options for hamlib)</option>';
for (var key in serial_devices.value) { for (var key in serial_devices.value) {
let selected = '' let selected = ''
if (serial_devices.value[key]["name"] == hamlib_deviceport){ if (serial_devices.value[key]["port"] == this. hamlib_deviceport){
selected = "selected" selected = "selected"
} else { } else {
selected = '' selected = ''