vbea %!s(int64=3) %!d(string=hai) anos
pai
achega
d7f016b0f4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Strides-Admin/src/views/user/UserDetail.vue

+ 1 - 1
Strides-Admin/src/views/user/UserDetail.vue

@@ -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);