Fix Links

master
Max Ehrlicher-Schmidt 4 years ago
parent ba95b857a7
commit 60eafdf86c

@ -69,7 +69,13 @@ export class ParticipantComponent implements OnInit {
dataPath: 'workshops', dataPath: 'workshops',
dataService: null, dataService: null,
columnInfo: [ columnInfo: [
{ dataPath: 'title', translation: 'Workshopname' }, {
dataPath: 'title',
translation: 'Workshopname',
link: (element) => {
return '/workshop/' + element['id'];
},
},
{ dataPath: 'description', translation: 'Details' }, { dataPath: 'description', translation: 'Details' },
], ],
nameToShowInSelection: (workshop) => { nameToShowInSelection: (workshop) => {

@ -21,7 +21,7 @@ export class ParticipantsComponent implements OnInit {
dataPath: 'contactInformation.person.name', dataPath: 'contactInformation.person.name',
translation: 'Nachname', translation: 'Nachname',
link: (row: any) => { link: (row: any) => {
return '/person/' + row['contactInformation.person.id']; return '/participant/' + row['id'];
}, },
possibleObjects: [], possibleObjects: [],
nameToShowInSelection: (contact) => { nameToShowInSelection: (contact) => {

Loading…
Cancel
Save