added URI encoding for single bund project requests
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -118,7 +118,8 @@ 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 {
|
||||
|
||||
Reference in New Issue
Block a user