diff --git a/project/ws/viewer/src/lib/components/viewer-toc/viewer-toc.component.ts b/project/ws/viewer/src/lib/components/viewer-toc/viewer-toc.component.ts index dbd0b0337..28bf6d8f7 100755 --- a/project/ws/viewer/src/lib/components/viewer-toc/viewer-toc.component.ts +++ b/project/ws/viewer/src/lib/components/viewer-toc/viewer-toc.component.ts @@ -345,13 +345,14 @@ export class ViewerTocComponent implements OnInit, OnDestroy { // duration: collection.duration, // redirectUrl: this.getCollectionTypeRedirectUrl(collection.displayContentType, collection.identifier), // } + const img = collection.posterImage ? collection.posterImage : collection.appIcon return { type: this.getCollectionTypeCard(collection.primaryCategory), id: collection.identifier, title: collection.name, thumbnail: this.forPreview - ? this.viewSvc.getAuthoringUrl(this.viewSvc.getPublicUrl(collection.posterImage)) - : this.viewSvc.getPublicUrl(collection.posterImage), + ? this.viewSvc.getAuthoringUrl(this.viewSvc.getPublicUrl(img)) + : this.viewSvc.getPublicUrl(img), subText1: collection.primaryCategory, subText2: collection.difficultyLevel, duration: collection.duration,