X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=ui%2Fweb%2Fsrc%2Fcomponents%2Factions%2FStartTransaction.vue;h=18145d8d8fad25fbc7467f2acca80aeb9fe33670;hb=39cd8fcbac08d293817365362ee90260a07b189d;hp=b887357bf81761ee33e76c9bcde418b224dde7eb;hpb=6dba76a51714e00deefea659141f7119d7f5263f;p=e-mobility-charging-stations-simulator.git
diff --git a/ui/web/src/components/actions/StartTransaction.vue b/ui/web/src/components/actions/StartTransaction.vue
index b887357b..18145d8d 100644
--- a/ui/web/src/components/actions/StartTransaction.vue
+++ b/ui/web/src/components/actions/StartTransaction.vue
@@ -1,7 +1,7 @@
- Action
- Start Transaction
- Connector {{ connectorId }} on {{ chargingStationId }}
+ Start Transaction
+ {{ chargingStationId }}
+ Connector {{ connectorId }}
Scan RFID tag:
@@ -9,8 +9,8 @@
id="action-button"
@click="
() => {
- uiClient
- .startTransaction(props.hashId, parseInt(props.connectorId), state.idTag)
+ $uiClient
+ .startTransaction(hashId, convertToInt(connectorId), state.idTag)
.then(() => {
$toast.success('Transaction successfully started')
})
@@ -26,24 +26,22 @@
>
Start Transaction
-