vbea hace 3 años
padre
commit
d7f016b0f4
Se han modificado 1 ficheros con 1 adiciones y 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);