fix(user.component): Aktualisierung der Tabelle der zugewiesenen Gruppen und Module mit einem Klick.
This commit is contained in:
parent
67419df015
commit
1605d0968b
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user