Projekt

Obecné

Profil

« Předchozí | Další » 

Revize d2799ca5

Přidáno uživatelem Jakub Danek před více než 5 roky(ů)

re #37 make UI compatible with new User controller API

Zobrazit rozdíly:

webapp/src/app/dashboard/dashboard.component.ts
36 36
  ngOnInit() {
37 37
    this.selectedMonth = this.dateToolsService.toStartOfMonth(new Date());
38 38

  
39
    this.userService.getLoggedUserProfile()
39
    this.usersService.getLoggedUserProfile()
40 40
      .subscribe((data: UserProfile) => {
41 41
        this.profile = data;
42 42
        if (this.isEmployer()) {
......
117 117
  }
118 118

  
119 119
  private loadProfile() {
120
    this.userService.getLoggedUserProfile()
120
    this.usersService.getLoggedUserProfile()
121 121
      .subscribe((data: UserProfile) => this.profile = data);
122 122
  }
123 123

  

Také k dispozici: Unified diff