Merge remote-tracking branch 'origin/dev' into topic-colored-chips
This commit is contained in:
@@ -72,11 +72,12 @@ export class ProjectsComponent {
|
||||
|
||||
getDetaiLink(fundingProject: FundingProject): string | null {
|
||||
if (fundingProject.type === 'bund') {
|
||||
return '/projects/bund/' + fundingProject.id;
|
||||
const encodedId = encodeURIComponent(fundingProject.id);
|
||||
return '/projects/bund/' + encodedId;
|
||||
} else if (fundingProject.type === 'dfg') {
|
||||
return '/projects/dfg/' + fundingProject.id;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
} else if (fundingProject.type === 'eu') {
|
||||
return '/projects/eu/' + fundingProject.id;
|
||||
} else return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user