Fix: management list clear all should clear header checkbox (#6253)

This commit is contained in:
shamoon
2024-04-01 14:43:40 -07:00
committed by GitHub
parent 98ef68f720
commit 6a79d417b4
2 changed files with 3 additions and 1 deletions

View File

@@ -85,6 +85,7 @@ export abstract class ManagementListComponent<T extends ObjectWithId>
private _nameFilter: string
public selectedObjects: Set<number> = new Set()
public togggleAll: boolean = false
ngOnInit(): void {
this.reloadData()
@@ -268,6 +269,7 @@ export abstract class ManagementListComponent<T extends ObjectWithId>
}
clearSelection() {
this.togggleAll = false
this.selectedObjects.clear()
}