Skip to content

Commit

Permalink
Fix displaying of WB-MIO firmware update progress (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
KraPete authored Dec 12, 2024
1 parent 1d208d9 commit f8ec66b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -580,11 +580,15 @@ class ConfigEditorPageStore {

setEmbeddedSoftwareUpdateProgress(data) {
data.devices.forEach(device => {
const tab = this.tabs
this.tabs
.findPortTabByPath(device.port.path)
?.children?.find(deviceTab => deviceTab.slaveId == device.slave_id);
tab?.clearError();
tab?.setEmbeddedSoftwareUpdateProgress(device);
?.children?.filter(
deviceTab => getIntAddress(deviceTab.slaveId) === getIntAddress(device.slave_id)
)
.forEach(deviceTab => {
deviceTab.clearError();
deviceTab.setEmbeddedSoftwareUpdateProgress(device);
});
});
}

Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
wb-mqtt-homeui (2.106.3) stable; urgency=medium

* Fix displaying of WB-MIO firmware update progress

-- Petr Krasnoshchekov <[email protected]> Tue, 10 Dec 2024 19:53:37 +0500

wb-mqtt-homeui (2.106.2) stable; urgency=medium

* Make Wiren Board Modbus device update errors more verbose
Expand Down

0 comments on commit f8ec66b

Please sign in to comment.