Merge pull request #2335 from Asizon/improve_hardwareId_check
Improving hardwareId behavior10.8-maintenance
commit
21f51371aa
|
@ -18,6 +18,8 @@
|
|||
opacity: 0.5;
|
||||
font-size: 10px;
|
||||
min-width: 210px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.tab_container .logo {
|
||||
|
@ -73,15 +75,13 @@
|
|||
<div class="logo_text">
|
||||
<span>
|
||||
{{ $t("versionLabelConfigurator") }}: {{ configuratorVersion }}
|
||||
<br />
|
||||
<span v-if="firmwareVersion && firmwareId">
|
||||
{{ $t("versionLabelFirmware") }}: {{ firmwareVersion }}
|
||||
{{ firmwareId }}
|
||||
</span>
|
||||
<br />
|
||||
<span v-if="hardwareId">
|
||||
{{ $t("versionLabelTarget") }}: {{ hardwareId }}
|
||||
</span>
|
||||
</span>
|
||||
<span v-if="firmwareVersion && firmwareId">
|
||||
{{ $t("versionLabelFirmware") }}: {{ firmwareVersion }}
|
||||
{{ firmwareId }}
|
||||
</span>
|
||||
<span v-if="hardwareId">
|
||||
{{ $t("versionLabelTarget") }}: {{ hardwareId }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -90,7 +90,7 @@ PortHandler.check_usb_devices = function (callback) {
|
|||
callback(self.dfu_available);
|
||||
}
|
||||
if (!$('option:selected', self.portPickerElement).data().isDFU) {
|
||||
if (!GUI.connected_to) {
|
||||
if (!(GUI.connected_to || GUI.connect_lock)) {
|
||||
FC.resetState();
|
||||
}
|
||||
self.portPickerElement.trigger('change');
|
||||
|
|
Loading…
Reference in New Issue