commit 9487c2f15da0bc2550c4f4117901e0e116385882
parent 9d1617b5062fbc2102bd864fa7fd91f1b1edb19a
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 21 Mar 2018 18:35:19 +0100
Try if using a template fixes the t is undefined error on the papers-list page
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/app/papers-list/papers-list.component.html b/src/app/papers-list/papers-list.component.html
@@ -2,7 +2,7 @@
<div class="card mx-auto" *ngFor="let item of rows" style="max-width: 22rem">
<!--Card image-->
<div class="overlay hm-white-slight waves-light card-img-top" *ngIf="item.paper_image">
- <img [src]="item.paper_image" class="img-fluid" style="z-index: 0">
+ <img src="{{item.paper_image}}" class="img-fluid" style="z-index: 0">
<a>
<div class="mask"></div>
</a>