From: Jérôme Benoit Date: Fri, 1 Mar 2024 15:14:51 +0000 (+0100) Subject: fix(ui): do not clear toggle button states on reload X-Git-Tag: v1.2.38~18 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=421fcdc9c9e7e9864147223a079d76c8b34810fc;p=e-mobility-charging-stations-simulator.git fix(ui): do not clear toggle button states on reload Signed-off-by: Jérôme Benoit --- 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()