fix(ui): do not clear toggle button states on reload
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 1 Mar 2024 15:14:51 +0000 (16:14 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 1 Mar 2024 15:14:51 +0000 (16:14 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
ui/web/src/components/charging-stations/CSTable.vue
ui/web/src/views/ChargingStationsView.vue

index 17f7a0ec21a611783fc7eec84a5cc9c26f48a488..9371d9622c88f8977a7fb371747b7ce98ee6ce9c 100644 (file)
@@ -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%;
 }
 </style>
index 997b2a67b4f5e3c1b89cfbf738a87e3c1e1a6612..7ffefe76e51d893a2bcc103e21c02ec9635d9d25 100644 (file)
@@ -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()