Commit 6dc578b0289c26bab6a874d999911a43b874291b
1 parent
50a5f6bb31
Exists in
develop
and in
1 other branch
arrego mr
Showing
3 changed files
with
10 additions
and
10 deletions
Show diff stats
src/app/modules/pedidos-salientes/pedidos-salientes.component.html
1 | 1 | <div class="row justify-content-center h-15"> |
2 | 2 | <div class="col-3 col-lg-2 mt-1"> |
3 | - <img src="../../../assets/img/logo-spot.svg" class="w-60 h-auto d-block mx-auto" alt=""> | |
3 | + <img src="../../../assets/img/logo-spot.svg" class="w-60 h-auto d-block mx-auto"> | |
4 | 4 | </div> |
5 | 5 | </div> |
6 | 6 | <div class="row mt-n5 justify-content-around h-75"> |
src/app/modules/pedidos-salientes/pedidos-salientes.component.scss
src/app/modules/pedidos-salientes/pedidos-salientes.component.ts
... | ... | @@ -17,8 +17,8 @@ export class PedidosSalientesComponent implements OnInit { |
17 | 17 | |
18 | 18 | ngOnInit() { |
19 | 19 | this.buscarPedidosFinalizados(); |
20 | - this.buscarPedidosPendientes() | |
21 | - this.ciclo() | |
20 | + this.buscarPedidosPendientes(); | |
21 | + this.ciclo(); | |
22 | 22 | } |
23 | 23 | |
24 | 24 | ngOnDestroy() { |
... | ... | @@ -28,8 +28,8 @@ export class PedidosSalientesComponent implements OnInit { |
28 | 28 | buscarPedidosFinalizados() { |
29 | 29 | this.comandaServices.getPendientesEntrega() |
30 | 30 | .subscribe((pedidos: []) => { |
31 | - this.pedidoFinalizado = pedidos | |
32 | - }) | |
31 | + this.pedidoFinalizado = pedidos; | |
32 | + }); | |
33 | 33 | } |
34 | 34 | |
35 | 35 | buscarPedidosPendientes() { |
... | ... | @@ -42,9 +42,9 @@ export class PedidosSalientesComponent implements OnInit { |
42 | 42 | ciclo() { |
43 | 43 | this.cicloTime = setTimeout(() => { |
44 | 44 | this.buscarPedidosFinalizados(); |
45 | - this.buscarPedidosPendientes() | |
45 | + this.buscarPedidosPendientes(); | |
46 | 46 | this.ciclo(); |
47 | - }, 5000) | |
47 | + }, 5000); | |
48 | 48 | } |
49 | 49 | |
50 | 50 | rellenar(relleno, longitud) { |