diff --git a/frontend/src/app/dashboard/dashboard.component.html b/frontend/src/app/dashboard/dashboard.component.html index 3b16ade..05f687c 100644 --- a/frontend/src/app/dashboard/dashboard.component.html +++ b/frontend/src/app/dashboard/dashboard.component.html @@ -42,7 +42,18 @@
- +
+ +
+ + + +
+ +
+
diff --git a/frontend/src/app/dashboard/dashboard.component.ts b/frontend/src/app/dashboard/dashboard.component.ts index 0a089b9..4cf6195 100644 --- a/frontend/src/app/dashboard/dashboard.component.ts +++ b/frontend/src/app/dashboard/dashboard.component.ts @@ -13,6 +13,7 @@ export class DashboardComponent implements OnInit{ missedSchedules: boolean = true schedules: ScheduleInfo[] = [] workedMinutesToday: number = 0 + test_Var: boolean = false; @ViewChild('activeSchedule') activeScheduleComponent: ActiveScheduleComponent | undefined constructor(private scheduleService: ScheduleService) { @@ -42,4 +43,8 @@ export class DashboardComponent implements OnInit{ this.workedMinutesToday += stopActiveScheduleInfo.workedMinutes; this.schedules = this.schedules.filter(schedule => schedule.scheduleID !== stopActiveScheduleInfo.schedule.scheduleID); } + + test() { + this.test_Var = !this.test_Var; + } }