Skip to content

Commit

Permalink
Merge pull request #55 from lapig-ufg/hotfix/methodologies_file_link
Browse files Browse the repository at this point in the history
Hotfix: Link for methodologies fixed.
  • Loading branch information
James-jamames authored Jan 12, 2024
2 parents 4cf3a50 + d64460f commit 9d2630e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@ export class MetodosComponent implements OnInit {

this.contentHub.getMethodologies().subscribe(values => {
values.forEach(element => {
let fileUrl = JSON.parse(element.file as string)[0].download_link;

this.methodologies.push(
{
title: element.title,
image: environment.S3 + element.image,
description: element.description,
file: element.file,
file: environment.S3 + fileUrl,
});
});
})
Expand Down

0 comments on commit 9d2630e

Please sign in to comment.