From 0e441c9334d8b49158e9520ec464a3cfc77d6971 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 10:07:20 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- ui/web/src/views/ChargingStationsView.vue | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ui/web/src/views/ChargingStationsView.vue b/ui/web/src/views/ChargingStationsView.vue index fad7a437..cf583250 100644 --- a/ui/web/src/views/ChargingStationsView.vue +++ b/ui/web/src/views/ChargingStationsView.vue @@ -210,14 +210,9 @@ const handleUIServerChange = (): void => { $uiClient.registerWSEventListener( 'error', () => { - state.value.uiServerIndex = getFromLocalStorage( - UI_SERVER_CONFIGURATION_INDEX_KEY, - 0 - ) + state.value.uiServerIndex = getFromLocalStorage(UI_SERVER_CONFIGURATION_INDEX_KEY, 0) $uiClient.setConfiguration( - ($configuration.value.uiServer as UIServerConfigurationSection[])[ - state.value.uiServerIndex - ] + ($configuration.value.uiServer as UIServerConfigurationSection[])[state.value.uiServerIndex] ) registerWSEventListeners() }, -- 2.53.0