Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
@click="
() => {
uiClient
- .setSupervisionUrl(props.hashId, state.supervisionUrl)
+ .setSupervisionUrl(hashId, state.supervisionUrl)
.then(() => {
$toast.success('Supervision url successfully set')
})
import { getCurrentInstance, ref } from 'vue'
import Button from '@/components/buttons/Button.vue'
-const props = defineProps<{
+defineProps<{
hashId: string
chargingStationId: string
}>()
@click="
() => {
uiClient
- .startTransaction(props.hashId, convertToInt(props.connectorId), state.idTag)
+ .startTransaction(hashId, convertToInt(connectorId), state.idTag)
.then(() => {
$toast.success('Transaction successfully started')
})
import Button from '@/components/buttons/Button.vue'
import { convertToInt } from '@/composables'
-const props = defineProps<{
+defineProps<{
hashId: string
chargingStationId: string
connectorId: string
}
#reload-button:active {
- background-color: seagreen;
+ background-color: darkblue;
}
#action {