diff --git a/src/app/pages/dataPages/participant/participant.component.ts b/src/app/pages/dataPages/participant/participant.component.ts index c0ab528..80fabb9 100644 --- a/src/app/pages/dataPages/participant/participant.component.ts +++ b/src/app/pages/dataPages/participant/participant.component.ts @@ -69,7 +69,13 @@ export class ParticipantComponent implements OnInit { dataPath: 'workshops', dataService: null, columnInfo: [ - { dataPath: 'title', translation: 'Workshopname' }, + { + dataPath: 'title', + translation: 'Workshopname', + link: (element) => { + return '/workshop/' + element['id']; + }, + }, { dataPath: 'description', translation: 'Details' }, ], nameToShowInSelection: (workshop) => { diff --git a/src/app/pages/tables/participants/participants.component.ts b/src/app/pages/tables/participants/participants.component.ts index ec9e825..da95c32 100644 --- a/src/app/pages/tables/participants/participants.component.ts +++ b/src/app/pages/tables/participants/participants.component.ts @@ -21,7 +21,7 @@ export class ParticipantsComponent implements OnInit { dataPath: 'contactInformation.person.name', translation: 'Nachname', link: (row: any) => { - return '/person/' + row['contactInformation.person.id']; + return '/participant/' + row['id']; }, possibleObjects: [], nameToShowInSelection: (contact) => {