Ignore:
Timestamp:
11/11/21 12:59:26 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
59329aa
Parents:
6c1585f
Message:

add location to planner

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/src/app/planner/planner.component.ts

    r6c1585f rceaed42  
    2222
    2323
    24   constructor(private plannerService: PlannerService, public dialog: MatDialog, private router: Router,
     24  constructor(private plannerService: PlannerService, private dialog: MatDialog, private router: Router,
    2525    private fb : FormBuilder) {
    2626    this.planners = [];
     
    4949    console.log(id);
    5050        this.plannerService.getPlannerById(id).subscribe(
    51             data => {
    52              
    53               this.router.navigate(['edit/planner/', id])
     51            data => {         
     52              this.router.navigate(['edit/planner/', id]);
    5453            }
    5554     );
Note: See TracChangeset for help on using the changeset viewer.