Web UI: add and fix missing commands support
[e-mobility-charging-stations-simulator.git] / src / ui / web / src / components / charging-stations / IdTagInputModal.vue
similarity index 76%
rename from src/ui/web/src/components/charging-stations/TagInputModal.vue
rename to src/ui/web/src/components/charging-stations/IdTagInputModal.vue
index 9295d92c3d21d8c3f894b89b47c1f81ff360305c..8645f6b6d3acaa58faa0dd85c6562e14d39b321a 100644 (file)
@@ -1,8 +1,8 @@
 <template>
   <Modal :visibility="visibility">
-    <label for="tag">Tags</label>
+    <label for="idTag">IdTag</label>
     <!-- eslint-disable-next-line vue/no-mutating-props -->
-    <input type="text" name="tag" v-model="props.tag" @keypress.enter="done()" />
+    <input type="text" name="idTag" v-model="props.idTag" @keypress.enter="done()" />
     <Button @click="done()">
       <slot></slot>
     </Button>
@@ -15,7 +15,7 @@ import Button from '../buttons/Button.vue';
 
 const props = defineProps<{
   visibility: boolean;
-  tag: string;
+  idTag: string;
 }>();
 
 const emit = defineEmits(['done']);