Commit 627cd1963fab7227a35d92cf62cbc8e6f02e30a5

Authored by Jose Pinto
1 parent 6ee3665d88
Exists in master and in 1 other branch develop

fix guardar cisternas

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
... ... @@ -31,7 +31,7 @@ angular.module('focaAbmVehiculo')
31 31 }
32 32 },
33 33 guardarCisterna: function(cisterna, idx) {
34   - if(idx !== -1) {
  34 + if(idx !== '-1') {
35 35 //update
36 36 cisternas[idx] = cisterna;
37 37 }else {