5 <h2>{{ chargingStationId }}</h2>
6 <p>Supervision Url:</p>
9 v-model.trim="state.supervisionUrl"
10 name="supervision-url"
20 ?.setSupervisionUrl(hashId, state.supervisionUrl)
22 $toast.success('Supervision url successfully set')
24 .catch((error: Error) => {
25 $toast.error('Error at setting supervision url')
26 console.error('Error at setting supervision url:', error)
29 $router.push({ name: 'charging-stations' })
38 <script setup lang="ts">
39 import Button from '@/components/buttons/Button.vue'
40 import { ref } from 'vue'
43 chargingStationId: string
47 const state = ref<{ supervisionUrl: string }>({