Merge dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-6.9.0 into combined...
[e-mobility-charging-stations-simulator.git] / ui / web / src / views / ChargingStationsView.vue
index 25ea51d9bc02549c1526725e9f5e92b9fde96e5e..19b6dfe362109619ba04a2dddfaea76032842112 100644 (file)
@@ -5,25 +5,24 @@
     <Container id="inputs-container">
       <input
         id="idtag-field"
+        v-model="state.idTag"
         type="text"
         name="idtag-field"
         placeholder="RFID tag"
-        v-model="state.idTag"
       />
       <ReloadButton id="reload-button" :loading="state.isLoading" @click="load()" />
     </Container>
-    <CSTable :chargingStations="state.chargingStations" :idTag="state.idTag" />
+    <CSTable :charging-stations="state.chargingStations" :id-tag="state.idTag" />
   </Container>
 </template>
 
 <script setup lang="ts">
+import { onMounted, reactive } from 'vue';
+import CSTable from '@/components/charging-stations/CSTable.vue';
+import type { ChargingStationData } from '@/types';
 import Container from '@/components/Container.vue';
 import ReloadButton from '@/components/buttons/ReloadButton.vue';
-import CSTable from '@/components/charging-stations/CSTable.vue';
-
-import { onMounted, reactive } from 'vue';
-import UIClient from '@/composables/UIClient';
-import type { ChargingStationData } from '@/types/ChargingStationType';
+import { UIClient } from '@/composables/UIClient';
 
 const UIClientInstance = UIClient.getInstance();