fix(user.component): Aktualisierung der Tabelle der zugewiesenen Gruppen und Module mit einem Klick.

This commit is contained in:
Developer 02 2024-10-17 10:47:59 +02:00
parent 67419df015
commit 1605d0968b

View File

@ -67,10 +67,10 @@ export class UserComponent extends BasePageComponent implements AfterViewInit {
usersOnSelectedRows = (rows: GuiSelectedRow[]) => {
if (rows.length == 1) {
this.sUser = rows[0].source;
this.groupTable.fetchDataByUsername(rows[0].source.username);
this.moduleTable.fetchDataByUsername(rows[0].source.username)
}
else if (rows.length == 0 && this.sUser?.username != null) {
this.groupTable.fetchDataByUsername(this.sUser.username);
this.moduleTable.fetchDataByUsername(this.sUser.username)
this.openUpdateSheet(this.sUser);
}
}