Skip to content

Commit

Permalink
Merge pull request #56 from lapig-ufg/develop
Browse files Browse the repository at this point in the history
Methodology hotfix
  • Loading branch information
James-jamames authored Jan 12, 2024
2 parents b4186a6 + 9d2630e commit 3cd9979
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 3cd9979

Please sign in to comment.