Add note to contactInformation select

pull/8/head
Max Ehrlicher-Schmidt 4 years ago
parent feab8159d6
commit 3f4a01e2a6

@ -43,7 +43,9 @@ export class LendingStationComponent implements OnInit {
' ' + ' ' +
contact.email + contact.email +
' ' + ' ' +
contact.phone contact.phone +
' ' +
contact.note
); );
}, },
propertyPrefixToOverwrite: 'contactInformationIntern', propertyPrefixToOverwrite: 'contactInformationIntern',
@ -85,7 +87,9 @@ export class LendingStationComponent implements OnInit {
' ' + ' ' +
contact.email + contact.email +
' ' + ' ' +
contact.phone contact.phone +
' ' +
contact.note
); );
}, },
propertyPrefixToOverwrite: 'contactInformationExtern', propertyPrefixToOverwrite: 'contactInformationExtern',
@ -122,8 +126,11 @@ export class LendingStationComponent implements OnInit {
dataService: null, dataService: null,
columnInfo: [ columnInfo: [
{ dataPath: 'dateRange', translation: 'Zeitraum' }, { dataPath: 'dateRange', translation: 'Zeitraum' },
{ dataPath: 'cargoBike.name', translation: 'Lastenrad', {
link: (row) => '/bike/' + row["cargoBike.id"], }, dataPath: 'cargoBike.name',
translation: 'Lastenrad',
link: (row) => '/bike/' + row['cargoBike.id'],
},
], ],
editableReferences: false, editableReferences: false,
linkToTable: () => '/table/timeFrames', linkToTable: () => '/table/timeFrames',
@ -142,7 +149,7 @@ export class LendingStationComponent implements OnInit {
constructor( constructor(
private lendingStationsService: LendingStationsService, private lendingStationsService: LendingStationsService,
private contactInformationService: ContactInformationService, private contactInformationService: ContactInformationService
) { ) {
this.contactInformationService.loadTableData(); this.contactInformationService.loadTableData();
this.contactInformationService.tableData.subscribe((data) => { this.contactInformationService.tableData.subscribe((data) => {

Loading…
Cancel
Save