- Timestamp:
- 12/19/21 19:39:00 (3 years ago)
- Branches:
- master
- Children:
- bdd6491
- Parents:
- 1ad8e64
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/src/app/planner/planner.component.ts
r1ad8e64 r84d0fbb 7 7 import { DialogService, DynamicDialogRef } from 'primeng/dynamicdialog'; 8 8 import { MessageService, PrimeNGConfig } from 'primeng/api'; 9 import { UserDto } from '../_models/dto/userDto'; 10 import { UserService } from '../_services/user.service'; 9 11 10 12 … … 20 22 plannerDto: PlannerDto; 21 23 ref: DynamicDialogRef; 22 24 user: UserDto; 23 25 24 26 constructor(private plannerService: PlannerService, private router: Router, 25 private dialogService: DialogService, private primengConfig: PrimeNGConfig, private messageService: MessageService) { 27 private dialogService: DialogService, private primengConfig: PrimeNGConfig, private messageService: MessageService, 28 private userService : UserService) { 26 29 this.planners = []; 27 30 this.plannerDto = new PlannerDto(); 28 31 this.ref = new DynamicDialogRef; 32 this.user = new UserDto(); 29 33 } 30 34 … … 36 40 data => { 37 41 this.planners = data; 42 localStorage.getItem("token"); 38 43 } 39 ); 44 ); 40 45 } 41 46
Note:
See TracChangeset
for help on using the changeset viewer.