Changeset 8d391a1 for trip-planner-front/src/app/locations-form
- Timestamp:
- 11/26/21 20:07:18 (3 years ago)
- Branches:
- master
- Children:
- 1ad8e64
- Parents:
- e29cc2e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/src/app/locations-form/locations-form.component.ts
re29cc2e r8d391a1 68 68 69 69 ngOnInit(): void { 70 70 71 71 this.filteredOptions = this.myControl.valueChanges 72 72 .pipe( … … 140 140 console.log(result); 141 141 this.proba = result; 142 this.router.navigate(['locations'], { queryParams: {cityId: this.cityId, companionId: this.companionId, lengthOfStay: this.lengthOfStay, categoryIds: this.categoryIds}});142 this.router.navigate(['locations'], { queryParams: { cityId: this.cityId, companionId: this.companionId, lengthOfStay: this.lengthOfStay, categoryIds: this.categoryIds } }); 143 143 } 144 144 ); … … 148 148 result => { 149 149 console.log(result); 150 this.router.navigate(['locations'], { queryParams: {regionId: this.regionId, companionId: this.companionId, lengthOfStay: this.lengthOfStay, categoryIds: this.categoryIds}});150 this.router.navigate(['locations'], { queryParams: { regionId: this.regionId, companionId: this.companionId, lengthOfStay: this.lengthOfStay, categoryIds: this.categoryIds } }); 151 151 } 152 152 );
Note:
See TracChangeset
for help on using the changeset viewer.