Commit 4ffae611a2afd3dc98e7cc25715b5564c5cbcd7f

Authored by Marcelo Puebla
1 parent 29059ce020
Exists in develop

Cambio nombre de metodo

src/app/app.component.html
1 1 -<router-outlet></router-outlet>
  2 +<router-outlet></router-outlet>
2 3 \ No newline at end of file
src/app/modules/seleccion-articulos/seleccion-articulos.component.ts
... ... @@ -36,7 +36,7 @@ export class SeleccionArticulosComponent implements OnInit {
36 36 }
37 37  
38 38 getCategorias() {
39   - this.categoriaService.getCategorias()
  39 + this.categoriaService.getAll()
40 40 .subscribe((categorias: ICategoria[]) => {
41 41 switch (this.queMostrar) {
42 42 case 'todos':
src/app/services/categoria/categoria.service.ts
... ... @@ -12,7 +12,7 @@ export class CategoriaService {
12 12 private http: HttpClient,
13 13 ) { }
14 14  
15   - getCategorias() {
  15 + getAll() {
16 16 return this.http.get(`${this.urlDeboSuite}/categorias`);
17 17 }
18 18 }