Commit 68c833dfe7f28931a2be0d881488f510d748b866
Exists in
master
Merge branch 'master' into 'master'
Master(efernandez) See merge request !85
Showing
1 changed file
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 |