* fix: Moved user type to a separate file. fix #7, fix #8

* fix: added more filters

* fix: Added attendence clear button and notes. fix #9, fix #10

* fix: bumped version number

* fix: Changed wording. Resolves #12

* fix: Resolve #13

* fix: Safari no longer displays system ui over lower guide.

* fix: Resolved #14
This commit is contained in:
2025-05-13 19:28:21 +02:00
committed by GitHub
parent 53bfeab116
commit 6ab3598d38
16 changed files with 75 additions and 48 deletions

View File

@@ -11,8 +11,8 @@ import { AdminCommService } from '../../admin-comm.service';
})
export class AttendenceSummaryComponent implements OnInit {
data: MatTableDataSource<{room: string, hours: string[]}> = new MatTableDataSource<{room: string, hours: string[]}>();
collumns = ['room', 'hours']
data: MatTableDataSource<{room: string, hours: string[], notes: string}> = new MatTableDataSource<{room: string, hours: string[], notes: string}>();
collumns = ['room', 'hours', 'actions']
constructor (private toolbar: ToolbarService, private router: Router, private route: ActivatedRoute, private ac: AdminCommService) {
this.toolbar.comp = this
@@ -21,6 +21,12 @@ export class AttendenceSummaryComponent implements OnInit {
]
}
delete(room: string) {
this.ac.clean.attendence.deleteRoom(room).subscribe(() => {
this.ngOnInit()
})
}
ngOnInit(): void {
this.ac.clean.attendence.getSummary().subscribe(v => {
this.data.data = v