From db85a9aeb886a9471f33c6ef36c19c6e6deb2c79 Mon Sep 17 00:00:00 2001 From: Miguel Angel Mulero Martinez Date: Wed, 15 May 2024 19:05:49 +0200 Subject: [PATCH] Fixes after review --- src/components/port-picker/PortPicker.vue | 4 +-- src/components/port-picker/PortsInput.vue | 6 ++-- src/index.html | 2 +- src/js/port_handler.js | 2 +- src/js/serial_backend.js | 6 ++-- src/js/webSerial.js | 34 +++++++++++------------ 6 files changed, 26 insertions(+), 28 deletions(-) diff --git a/src/components/port-picker/PortPicker.vue b/src/components/port-picker/PortPicker.vue index 86ad4761aa..3d0c26a668 100644 --- a/src/components/port-picker/PortPicker.vue +++ b/src/components/port-picker/PortPicker.vue @@ -4,7 +4,7 @@ + :disabled="disabled" /> @@ -25,7 +25,7 @@ export default { type: Array, default: () => [], }, - readOnly: { + disabled: { type: Boolean, default: false, }, diff --git a/src/components/port-picker/PortsInput.vue b/src/components/port-picker/PortsInput.vue index d7860274c8..2ab2d21b29 100644 --- a/src/components/port-picker/PortsInput.vue +++ b/src/components/port-picker/PortsInput.vue @@ -8,7 +8,7 @@ id="port" class="dropdown-select" :title="$t('firmwareFlasherManualPort')" - :disabled="readOnly" + :disabled="disabled" v-model="value.selectedPort" @change="onChange" > @@ -41,7 +41,7 @@ v-model="value.selectedBauds" class="dropdown-select" :title="$t('firmwareFlasherBaudRate')" - :disabled="readOnly" + :disabled="disabled" >