]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(ui-web): force toggle button re-mount on navigation back to main view
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 17 Apr 2026 14:50:18 +0000 (16:50 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 17 Apr 2026 14:50:18 +0000 (16:50 +0200)
commit92711d429e51c4e4bb2eaafb86c6f47d62f99c63
tree4b6f6a26e2cd557db33d6492921f250c3866ddd8
parent3c6f6f11211b476fe050cd54d5bb6829c7bdbfc1
fix(ui-web): force toggle button re-mount on navigation back to main view

resetToggleButtonState() only cleared localStorage but never triggered
ToggleButton re-mount, leaving its reactive state stuck on 'active'.
Watch route changes to CHARGING_STATIONS and call refresh() to re-mount
both the header toggle and CSTable children, ensuring all shared toggle
buttons re-read their (now cleared) localStorage entries.
ui/web/src/views/ChargingStationsView.vue