Refine sonar-project.properties
[e-mobility-charging-stations-simulator.git] / src / ui / web / src / components / charging-stations / CSInfoModal.vue
index f4505b7ddcfde52500635cf4b77c755ed513870e..aa9bcd5dc0d36ebddb5a7fcade41f73cfa7bcde9 100644 (file)
@@ -1,16 +1,16 @@
 <template>
   <Modal :visibility="props.isVisible">
-    <div class="card-info">vendor: {{ props.info.chargePointVendor }}</div>
+    <div class="card-info">vendor: {{ props.stationInfo.chargePointVendor }}</div>
   </Modal>
 </template>
 
 <script setup lang="ts">
 import Modal from '@/components/Modal.vue';
-import type { ChargingStationInfo } from '@/type/ChargingStationType';
+import type { ChargingStationInfo } from '@/types/ChargingStationType';
 
 const props = defineProps<{
+  stationInfo: ChargingStationInfo;
   isVisible: boolean;
-  info: ChargingStationInfo;
 }>();
 </script>