Projekt

Obecné

Profil

« Předchozí | Další » 

Revize f4741e5b

Přidáno uživatelem Václav Jirák před téměř 6 roky(ů)

  • ID f4741e5b455d33aeb0916b285ef922b63e0df9db
  • Rodič f8b40fd5

Re #7498 Global settings component implemented

Zobrazit rozdíly:

webapp/src/app/dashboard/employer-dashboard/employer-dashboard.component.ts
35 35
    //
36 36
    // this.usersService.getVacationRequests()
37 37
    //   .subscribe((data: Requests) => this.daysOffRequests = data);
38

  
39
    // Tmp mock
40
    // this.profile = {
41
    //   id: 1,
42
    //   name: {
43
    //     first: 'Jon',
44
    //     last: 'Doe',
45
    //   },
46
    //   photo: 'http://mosaddek.com/theme/diverse/assets/img/user1.png',
47
    //   settings: {
48
    //     notification: new Date(2019, 3, 25, 18, 0)
49
    //   },
50
    //   vacation: {
51
    //     value: 5,
52
    //     unit: TimeUnit.DAY,
53
    //   },
54
    //   sickDay: {
55
    //     value: 10,
56
    //     unit: TimeUnit.DAY
57
    //   }
58
    // };
59 38
  }
60 39

  
61 40
  private userApproved(requestId: number, approved: boolean) {
......
78 57

  
79 58
  onMonthSelect(month: number) {
80 59
    // TODO API CALL
81
    console.log(month);
82 60
  }
83 61
}

Také k dispozici: Unified diff