Commit 6f56f747e58c58b7eeac23a5bf72e9aeefbfa79c
1 parent
9ac7139017
Exists in
master
doble 0
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/app/components/pedidos-salientes/pedidos-salientes.component.html
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | class="col-12 p-2"> |
| 13 | 13 | <div class="border rounded shadow h-big"> |
| 14 | 14 | <div class="font-weight-bold heartbeat m-0 h-100"> |
| 15 | - {{rellenar(pedidosRecientes[0].id, 2)}} | |
| 15 | + {{rellenar(pedidosRecientes[0].id.toString().slice(pedidosRecientes[0].id.toString().length - 2), 2)}} | |
| 16 | 16 | </div> |
| 17 | 17 | </div> |
| 18 | 18 | </div> |
| ... | ... | @@ -22,7 +22,7 @@ |
| 22 | 22 | [hidden]="i == 0 || i > 8" |
| 23 | 23 | class="col-3 p-2"> |
| 24 | 24 | <p class="font-weight-bold display-1 m-0 py-1 border rounded shadow"> |
| 25 | - {{rellenar(pedido.id, 2)}} | |
| 25 | + {{rellenar(pedido.id.toString().slice(pedido.id.toString().length - 2), 2)}} | |
| 26 | 26 | </p> |
| 27 | 27 | </div> |
| 28 | 28 |