HTML update img url
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
<button class="gameCard-Next" onclick="">❯</button>
|
<button class="gameCard-Next" onclick="">❯</button>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="product.images.length > 0" >
|
<div *ngIf="product.images.length > 0" >
|
||||||
<img class="gameCard-Img" src="{{ product.images[0] }}">
|
<img class="gameCard-Img" [src]="product.images[product.curShowingIMG].imageSrc">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h1 class ="gameCard-Name">{{ product.name }}</h1>
|
<h1 class ="gameCard-Name">{{ product.name }}</h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user