From 472c2e50c6d5685ce893b9ded6872bb8db6ce2f6 Mon Sep 17 00:00:00 2001 From: James-jamames Date: Wed, 17 Jan 2024 13:16:48 -0300 Subject: [PATCH] + Highlights URL update --- src/client/src/app/hotsite/pages/index/index.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/src/app/hotsite/pages/index/index.component.ts b/src/client/src/app/hotsite/pages/index/index.component.ts index a306b6f..659b048 100755 --- a/src/client/src/app/hotsite/pages/index/index.component.ts +++ b/src/client/src/app/hotsite/pages/index/index.component.ts @@ -91,12 +91,14 @@ export class IndexComponent implements AfterViewInit { this.contentHub.getHighlights().subscribe(values => { values.forEach(element => { + let fileUrl = JSON.parse(element.file as string)[0].download_link; + this.highlights.push( { title: element.title, image: environment.S3 + element.image, description: element.description, - document: element.file, + document: environment.S3 + fileUrl, }); }); })