Commit 6d37656724ed1e8521c54eabf22e1df5368797ae
1 parent
8f31709ebd
Exists in
master
and in
1 other branch
Arreglo por si la variable es null.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -9,7 +9,7 @@ angular.module('focaBusquedaCliente') |
| 9 | 9 | |
| 10 | 10 | $scope.cobrador = cobrador ? cobrador : {}; |
| 11 | 11 | $scope.vendedor = vendedor ? vendedor : {}; |
| 12 | - $scope.filters = searchText; | |
| 12 | + $scope.filters = searchText ? searchText : ''; | |
| 13 | 13 | $scope.primerBusqueda = false; |
| 14 | 14 | |
| 15 | 15 | //#region pagination |