<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();