Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 08a1de74

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

Sickdays is now correctly displayed in the list of users

Zobrazit rozdíly:

webapp/src/app/employees/employees-list.component.html
48 48
      <td *ngFor="let date of user.dates">
49 49

  
50 50
        <div
51
          [class.sickday]="date.type === 'SICKDAY'"
52
          [class.vacation]="date.type === 'VACATION'"
51
          [class.sickday]="date.type === vacationType.SICKDAY"
52
          [class.vacation]="date.type === vacationType.VACATION"
53 53
        >
54 54
          {{date.date.getDate()}}
55 55
        </div>
webapp/src/app/employees/employees-list.component.ts
31 31
  styleUrls: ['./employees-list.component.sass']
32 32
})
33 33
export class EmployeesListComponent implements OnInit {
34
  private vacationType = VacationType;
35

  
34 36
  days: string[];
35 37
  private _users: User[];
36 38
  private _dates: Date[];

Také k dispozici: Unified diff