Commit eac394b2dc868bb7fb66f055cba18c45d42a01b0
1 parent
2b7ae086c0
Exists in
master
and in
1 other branch
Agregado titulo.
Showing
2 changed files
with
13 additions
and
3 deletions
Show diff stats
src/app/components/comanda/comanda.component.ts
... | ... | @@ -15,8 +15,12 @@ export class ComandaComponent implements OnInit { |
15 | 15 | private cicloTime; |
16 | 16 | |
17 | 17 | constructor( |
18 | - private comandaService: ComandaService | |
19 | - ) { } | |
18 | + private comandaService: ComandaService, | |
19 | + private titleService: Title | |
20 | + ) { | |
21 | + | |
22 | + this.titleService.setTitle('Comanda'); | |
23 | + } | |
20 | 24 | |
21 | 25 | ngOnInit() { |
22 | 26 |
src/app/components/pedidos-salientes/pedidos-salientes.component.ts
... | ... | @@ -12,7 +12,13 @@ export class PedidosSalientesComponent implements OnInit { |
12 | 12 | private pedidosRecientes = []; |
13 | 13 | private cicloTime; |
14 | 14 | |
15 | - constructor(private comandaService: ComandaService) { } | |
15 | + constructor( | |
16 | + private comandaService: ComandaService, | |
17 | + private titleService: Title | |
18 | + ) { | |
19 | + | |
20 | + this.titleService.setTitle('Pedidos Salientes'); | |
21 | + } | |
16 | 22 | |
17 | 23 | ngOnInit() { |
18 | 24 |