- Timestamp:
- 12/28/21 08:56:55 (3 years ago)
- Branches:
- master
- Children:
- b738035
- Parents:
- 84d0fbb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/src/app/planner/edit-planner/edit-planner.component.ts
r84d0fbb rbdd6491 24 24 25 25 constructor(private router: Router, private route: ActivatedRoute, private fb: FormBuilder, private plannerService: PlannerService, 26 private locationService 26 private locationService: LocationService) { 27 27 this.planner = new Planner(); 28 28 this.planners = []; … … 50 50 this.locationService.getLocationsForPlanner(this.id).subscribe( 51 51 data => { 52 52 this.locations = data; 53 53 } 54 54 ); 55 56 55 } 56 57 57 onSubmit() { 58 58 this.updatePlanner(); … … 77 77 } 78 78 79 onClickBack() {79 onClickBack() { 80 80 this.router.navigate(['planners']); 81 81 } 82 83 onClickRemoveLocation(id : number){ 84 85 } 82 86 }
Note:
See TracChangeset
for help on using the changeset viewer.