@@ -419,7 +419,7 @@ export default {
(vehicle.brand && vehicle.model && vehicle.licensePlate))],
// ocppTagRequest: this.userModel.ocppTagResponse,
}
- if (this.selectedUser.userId) {
+ if (this.isEdit) {
this.updateUser(params)
} else {
this.addUser(params);