Commit 3a8323a55e20d50332130b714dbd5da3d82f82b7
1 parent
f74633474c
Exists in
master
and in
1 other branch
fix imagen remplaza
Showing
2 changed files
with
3 additions
and
1 deletions
Show diff stats
src/app/components/amb-imagenes/amb-imagenes.component.html
... | ... | @@ -27,7 +27,7 @@ |
27 | 27 | <td>{{articulo.DET_LAR}}</td> |
28 | 28 | <td> |
29 | 29 | <img *ngIf="articulo.imagenes.length" src="{{apiUrl}}/imagenes/{{articulo.imagenes[0].imagen}}"> |
30 | - <img id="{{articulo.CodSec + articulo.CodArt}}" *ngIf="!articulo.imagenes.length"> | |
30 | + <img id="{{articulo.CodSec + articulo.CodArt}}" [hidden]="articulo.imagenes.length"> | |
31 | 31 | </td> |
32 | 32 | <td><input type="file" accept="image/*" (change)="onFileSelected($event, articulo)"></td> |
33 | 33 | </tr> |
src/app/components/amb-imagenes/amb-imagenes.component.ts