- Timestamp:
- 11/26/21 20:07:18 (3 years ago)
- Branches:
- master
- Children:
- 1ad8e64
- Parents:
- e29cc2e
- Location:
- trip-planner-front/src/app/location/add-location-to-planner-panel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/src/app/location/add-location-to-planner-panel/add-location-to-planner-panel.component.html
re29cc2e r8d391a1 7 7 </tr> 8 8 </ng-template> 9 <ng-template pTemplate="body" let-planner >9 <ng-template pTemplate="body" let-planner let-data> 10 10 <tr> 11 11 <td>{{planner.name}}</td> 12 13 12 <td> 14 <button pButton pRipple type="button" icon="pi pi-heart" 15 class="p-button-rounded p-button-help p-button-text" (click)="selectPlanner(planner)"></button>13 <button pButton pRipple type="button" icon="pi pi-heart" class="p-button-rounded p-button-help" 14 (click)="selectPlanner(planner)" ></button> 16 15 </td> 17 16 </tr> -
trip-planner-front/src/app/location/add-location-to-planner-panel/add-location-to-planner-panel.component.ts
re29cc2e r8d391a1 4 4 import { PlannerService } from 'src/app/_services/planner.service'; 5 5 import { DynamicDialogRef } from 'primeng/dynamicdialog'; 6 7 6 import { LocationService } from 'src/app/_services/location.service'; 7 import { Location } from 'src/app/_models/location'; 8 import { PlannerLocationDto } from 'src/app/_models/dto/plannerLocationDto'; 8 9 9 10 … … 16 17 17 18 planners: Planner[]; 18 19 20 19 21 20 constructor(private plannerService: PlannerService, 22 private route: ActivatedRoute, private ref: DynamicDialogRef ) {21 private route: ActivatedRoute, private ref: DynamicDialogRef, private locationService : LocationService) { 23 22 this.planners = []; 24 23 } … … 31 30 } 32 31 ); 32 33 33 } 34 34 … … 37 37 } 38 38 39 40 41 39 }
Note:
See TracChangeset
for help on using the changeset viewer.