fix(ui): fix charging stations refresh
[e-mobility-charging-stations-simulator.git] / ui / web / src / components / charging-stations / CSTable.vue
index 3d9efbbf2471cb1239f3e64c51262923f8d45021..f8e3bf8b9fa2b0d7e77af8ac72fbb7d0966f893d 100644 (file)
@@ -23,7 +23,6 @@
         v-for="chargingStation in props.chargingStations"
         :key="chargingStation.stationInfo?.hashId"
         :charging-station="chargingStation"
-        :id-tag="props.idTag"
       />
     </tbody>
   </table>
@@ -35,7 +34,6 @@ import type { ChargingStationData } from '@/types'
 
 const props = defineProps<{
   chargingStations: ChargingStationData[]
-  idTag: string
 }>()
 </script>
 
@@ -51,7 +49,6 @@ const props = defineProps<{
   empty-cells: show;
 }
 
-#cs-table__head,
 #cs-table__body {
   height: fit-content;
   width: 100%;
@@ -71,14 +68,11 @@ const props = defineProps<{
   height: fit-content;
   width: 100%;
   display: flex;
+  flex-direction: row;
   justify-content: center;
   align-items: center;
 }
 
-#cs-table__head .cs-table__row {
-  background-color: lightgrey;
-}
-
 .cs-table__row:nth-of-type(even) {
   background-color: whitesmoke;
 }
@@ -89,9 +83,12 @@ const props = defineProps<{
   text-align: center;
 }
 
+#cs-table__head .cs-table__row {
+  background-color: lightgrey;
+}
+
 .cs-table__connectors-column {
   height: fit-content;
   width: 35%;
-  text-align: center;
 }
 </style>