fix: Changed group assignment. Closes #1.

This commit is contained in:
2025-05-05 18:54:20 +02:00
parent 6c8b40cbad
commit fd9380a61d
8 changed files with 53 additions and 56 deletions

View File

@@ -38,14 +38,6 @@ export class GroupsComponent implements OnInit {
return groups.flatMap((g) => g.name)
}
protected editRooms(id: string, rooms: string[]) {
this.acs.groups.editRooms(id, rooms.map(Number)).subscribe((s) => this.refreshIfGood(s))
}
protected editUsers(id: string, users: string[]) {
this.acs.groups.editUsers(id, users).subscribe((s) => this.refreshIfGood(s))
}
protected nameEdit(id: string, name: string | string[]) {
name = name as string
this.acs.groups.editName(id, name).subscribe((s) => this.refreshIfGood(s))