Commit b1051482 authored by Jeremy M Fee's avatar Jeremy M Fee Committed by Edward J Hunter
Browse files

Add referencePlace input to nearby-place-list component

parent 42f9ca7d
......@@ -2,11 +2,14 @@
<div *ngIf="places; else noNearbyPlaces">
<ol>
<li *ngFor="let place of places">
<geoserve-nearby-place [place]="place"></geoserve-nearby-place>
<geoserve-nearby-place
[place]="place"
[referencePlace]="referencePlace"
></geoserve-nearby-place>
</li>
</ol>
</div>
<ng-template #noNearbyPlaces>
<geoserve-no-data></geoserve-no-data>
</ng-template>
\ No newline at end of file
</ng-template>
......@@ -10,6 +10,9 @@ export class NearbyPlaceListComponent implements OnInit {
@Input()
places: Place[];
@Input()
referencePlace: Place = null;
constructor() {}
ngOnInit() {}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment