Use missing cover
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@
|
||||
<div *ngIf="!loading" class="mt-8 flex-1 overflow-y-auto">
|
||||
<div *ngFor="let metadata of allFetchedMetadata" class="book-item flex flex-col w-full">
|
||||
<div class="flex w-full flex-row book-item-content" (click)="onBookClick(metadata)">
|
||||
<img [src]="metadata.thumbnailUrl || 'assets/book-cover-metadata.png'" alt="Image" class="img-fixed-dimensions pr-2"/>
|
||||
<img [src]="metadata.thumbnailUrl || 'assets/images/missing-cover.jpg'" alt="Image" class="img-fixed-dimensions pr-2"/>
|
||||
<div class=" flex flex-col w-full m-2">
|
||||
<div class="flex flex-row gap-4 justify-between">
|
||||
<p class="font-bold">{{ truncateText(metadata['title'], 90) }}</p>
|
||||
|
||||
Reference in New Issue
Block a user