fix(ui): firmware state syncs across screens immediately (v0.16.7-beta)

Firmware actions on the device Config tab (check/install RouterOS,
check/install RouterBOOT) and Firmware-page actions now invalidate the
shared react-query caches on success — devices list, device header,
firmware overview, dashboard "Things to handle", and Security Center
findings. Previously they only updated local component state, so other
screens showed stale "update available" data for up to 30s until their
own background refetch fired, even though the backend had already
persisted the new state.

Browser-verified: after a firmware check on the Config tab, /api/devices
refetches within the same second (sidebar observer) and the Devices page
fetches fresh data on mount; both screens agree immediately.
This commit is contained in:
2GT-Rich
2026-07-11 22:05:12 -07:00
parent 27f155f778
commit 79e97e14cc
6 changed files with 26 additions and 6 deletions
+1 -1
View File
@@ -1 +1 @@
export const APP_VERSION = 'v0.16.6 Beta';
export const APP_VERSION = 'v0.16.7 Beta';