From 421fcdc9c9e7e9864147223a079d76c8b34810fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 1 Mar 2024 16:14:51 +0100 Subject: [PATCH] fix(ui): do not clear toggle button states on reload MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- ui/web/src/components/charging-stations/CSTable.vue | 4 ++-- ui/web/src/views/ChargingStationsView.vue | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ui/web/src/components/charging-stations/CSTable.vue b/ui/web/src/components/charging-stations/CSTable.vue index 17f7a0ec..9371d962 100644 --- a/ui/web/src/components/charging-stations/CSTable.vue +++ b/ui/web/src/components/charging-stations/CSTable.vue @@ -80,7 +80,7 @@ defineProps<{ .cs-table__column { height: fit-content; - width: calc(60% / 10); + width: calc(65% / 10); text-align: center; } @@ -90,6 +90,6 @@ defineProps<{ .cs-table__connectors-column { height: fit-content; - width: 40%; + width: 35%; } diff --git a/ui/web/src/views/ChargingStationsView.vue b/ui/web/src/views/ChargingStationsView.vue index 997b2a67..7ffefe76 100644 --- a/ui/web/src/views/ChargingStationsView.vue +++ b/ui/web/src/views/ChargingStationsView.vue @@ -137,7 +137,6 @@ const initializeWSEventListeners = () => { $toast.error('Error at fetching charging station templates') console.error('Error at fetching charging station templates:', error) }) - clearToggleButtons() loadChargingStations(() => { state.value.renderAddChargingStations = randomUUID() state.value.renderChargingStationsList = randomUUID() -- 2.34.1