fix: user grants (#1645)

* fix: user grants

* fix: add missing event type

Co-authored-by: fabi <[email protected]>
This commit is contained in:
Max Peintner
2021-04-22 10:03:24 +00:00
committed by GitHub
co-authored by fabi
parent f0b333c5cb
commit b742166af5
3 changed files with 6 additions and 4 deletions
@@ -184,7 +184,7 @@ export class UserGrantsComponent implements OnInit, AfterViewInit {
private getGrantRoleOptions(id: string, projectId: string): void {
this.mgmtService.getGrantedProjectByID(projectId, id).then(resp => {
if (resp.grantedProject) {
this.loadedId = id;
this.loadedId = projectId;
this.grantRoleOptions = resp.grantedProject?.grantedRoleKeysList;
}
}).catch(error => {