X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Fsrc%2Fviews%2FChargingStationsView.vue;h=fe361c1c1766dfe11753890146dfb5c5ed4f36f6;hb=4b10e4f94fe91fab12f8ba298137c49fc295774c;hp=03f73d638daa76af6472ba6547834c7ac3365f9b;hpb=916fe4560be0062eeb6979d88988584c286ccc50;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/src/views/ChargingStationsView.vue b/ui/web/src/views/ChargingStationsView.vue index 03f73d63..fe361c1c 100644 --- a/ui/web/src/views/ChargingStationsView.vue +++ b/ui/web/src/views/ChargingStationsView.vue @@ -20,6 +20,9 @@ 'open', () => { setToLocalStorage('uiServerConfigurationIndex', state.uiServerIndex) + clearToggleButtons() + $router.currentRoute.value.name !== 'charging-stations' && + $router.push({ name: 'charging-stations' }) }, { once: true } ) @@ -49,69 +52,161 @@ - - - + @@ -217,7 +318,7 @@ const stopSimulator = (): void => { } #reload-button:active { - background-color: red; + background-color: darkblue; } #action {