Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
id="number-of-stations"
v-model="state.numberOfStations"
type="text"
- name="number-of-station"
+ name="number-of-stations"
placeholder="number of stations"
/>
<br />
<script setup lang="ts">
import { getCurrentInstance, onMounted, reactive } from 'vue'
import Button from '@/components/buttons/Button.vue'
+import type { ResponsePayload } from '@/types'
const state = reactive({
ready: false,
</thead>
<tbody id="cs-table__body">
<CSData
- v-for="chargingStation in props.chargingStations"
+ v-for="chargingStation in chargingStations"
:key="chargingStation.stationInfo?.hashId"
:charging-station="chargingStation"
/>
import CSData from '@/components/charging-stations/CSData.vue'
import type { ChargingStationData } from '@/types'
-const props = defineProps<{
+defineProps<{
chargingStations: ChargingStationData[]
}>()
</script>